Skip to content

#af2014

a dark, electric red · warm · closest name: firebrick

RGB
175, 32, 20
HSL
5°, 80%, 38%
CMYK
0, 82, 89, 31
Luminance
0.1020

Every format

HEX#af2014
RGBrgb(175, 32, 20)
HSLhsl(5, 80%, 38%)
CMYKcmyk(0%, 82%, 89%, 31%)
LABlab(38.2 55.2 43.8)
LCHlch(38.2 70.5 38.4)
OKLCHoklch(0.488 0.180 29.8)

Copy-ready code

/* CSS */
color: #af2014;
background-color: #af2014;
/* Tailwind (arbitrary) */
class="text-[#af2014] bg-[#af2014]"
/* SCSS */
$brand: #af2014;
/* SwiftUI */
Color(red: 0.686, green: 0.125, blue: 0.078)
/* Android */
Color.parseColor("#af2014")

Accessibility — WCAG contrast

Aa
#af2014 on white: 6.91:1
AA ✓ pass · AA-large · AAA
Aa
#af2014 on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green12.5%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow88.6%
Key (black)31.4%

Color previews

#af2014 text on a black background

contrast 3.04:1

Card sample

#af2014 text on a white background

contrast 6.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #af2014;
Background color
Panel with #af2014 background
background-color: #af2014;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #af2014;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 32, 20, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 32, 20, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af2014;
background: linear-gradient(135deg, #af2014, #AF8714);

Monochromatic scale

Palettes built from #af2014

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2014 in the Color Lab