#AF212A#AF212A
#AF212A is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 24.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AF212A |
|---|---|
| RGB | rgb(175, 33, 42) |
| HSL | hsl(356, 68%, 41%) |
| HSV | hsv(356, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 76%, 31.4%) |
| CIE-LAB | lab(38.50, 55.59, 32.18) |
| CIE-LCH | lch(38.50, 64.23, 30.07°) |
| OKLab | oklab(49.14% 0.1614 0.0718) |
| OKLCH | oklch(49.14% 0.177 24) |
| XYZ | xyz(18.6432, 10.3718, 3.2104) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.01
Firebrick
#B22222
ΔE00 2.69
Lipstick Red
#C0022F
ΔE00 3.64
Scarlet
#BE0119
ΔE00 4.43
Cardinal
#C41E3A
ΔE00 5.33
Carmine
#9D0216
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF212A #21AFA6
analogous
#AF2171 #AF212A #AF5F21
triadic
#AF212A #2AAF21 #212AAF
tetradic
#AF212A #71AF21 #21AFA6 #5F21AF
square
#AF212A #71AF21 #21AFA6 #5F21AF
split-complementary
#AF212A #21AF5F #2171AF
monochromatic
#480E11 #7C171E #AF212A #D9343F #E36870
Accessibility & contrast
On white
6.83
#AF212A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AF212A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF212A
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF212A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF212A | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4729
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af212a; /* rgb */ color: rgb(175, 33, 42); /* oklch */ color: oklch(49.1% 0.177 24.0);
Tailwind
colors: {
custom: {
50: '#d06b64',
500: '#af212a',
950: '#000000',
},
}SCSS
$custom: #af212a; $custom-light: #d06b64; $custom-dark: #000000;
JSON
{
"hex": "#af212a",
"rgb": {
"r": 175,
"g": 33,
"b": 42
},
"hsl": {
"h": 356.197,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.49141,
"c": 0.17669,
"h": 24
},
"luminance": 0.10369
}Semantic roles & 50–950 ramp
primary
#AF212A
secondary
#64C8C2
accent
#EBE03D
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79