#AF212B#AF212B
#AF212B is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.177 H 23.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AF212B |
|---|---|
| RGB | rgb(175, 33, 43) |
| HSL | hsl(356, 68%, 41%) |
| HSV | hsv(356, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 75.4%, 31.4%) |
| CIE-LAB | lab(38.51, 55.63, 31.60) |
| CIE-LCH | lch(38.51, 63.98, 29.60°) |
| OKLab | oklab(49.16% 0.1618 0.0708) |
| OKLCH | oklch(49.16% 0.177 23.6) |
| XYZ | xyz(18.6613, 10.3791, 3.3058) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.11
Firebrick
#B22222
ΔE00 2.99
Lipstick Red
#C0022F
ΔE00 3.47
Scarlet
#BE0119
ΔE00 4.67
Cardinal
#C41E3A
ΔE00 5.13
Carmine
#9D0216
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF212B #21AFA5
analogous
#AF2172 #AF212B #AF5E21
triadic
#AF212B #2BAF21 #212BAF
tetradic
#AF212B #72AF21 #21AFA5 #5E21AF
square
#AF212B #72AF21 #21AFA5 #5E21AF
split-complementary
#AF212B #21AF5E #2172AF
monochromatic
#480E12 #7C171E #AF212B #D93440 #E36871
Accessibility & contrast
On white
6.83
#AF212B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AF212B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF212B
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF212B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF212B | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af212b; /* rgb */ color: rgb(175, 33, 43); /* oklch */ color: oklch(49.2% 0.177 23.6);
Tailwind
colors: {
custom: {
50: '#d06b64',
500: '#af212b',
950: '#000000',
},
}SCSS
$custom: #af212b; $custom-light: #d06b64; $custom-dark: #000000;
JSON
{
"hex": "#af212b",
"rgb": {
"r": 175,
"g": 33,
"b": 43
},
"hsl": {
"h": 355.775,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.49155,
"c": 0.1766,
"h": 23.6
},
"luminance": 0.10376
}Semantic roles & 50–950 ramp
primary
#AF212B
secondary
#64C8C1
accent
#EBDF3D
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A