#AF213C#AF213C
#AF213C is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.176 H 16.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF213C |
|---|---|
| RGB | rgb(175, 33, 60) |
| HSL | hsl(349, 68%, 41%) |
| HSV | hsv(349, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 65.7%, 31.4%) |
| CIE-LAB | lab(38.78, 56.45, 21.40) |
| CIE-LCH | lch(38.78, 60.37, 20.76°) |
| OKLab | oklab(49.44% 0.1682 0.0511) |
| OKLCH | oklch(49.44% 0.176 16.9) |
| XYZ | xyz(19.0408, 10.5309, 5.3042) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.99
Rose Red
#BE013C
ΔE00 2.69
Cardinal
#C41E3A
ΔE00 4.67
Lipstick Red
#C0022F
ΔE00 4.77
Ruby
#CA0147
ΔE00 5.19
Cranberry
#9E003A
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF213C #21AF94
analogous
#AF2183 #AF213C #AF4D21
triadic
#AF213C #3CAF21 #213CAF
tetradic
#AF213C #83AF21 #21AF94 #4D21AF
square
#AF213C #83AF21 #21AF94 #4D21AF
split-complementary
#AF213C #21AF4D #2183AF
monochromatic
#480E19 #7C172A #AF213C #D93454 #E3687F
Accessibility & contrast
On white
6.76
#AF213C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF213C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF213C
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF213C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF213C | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C483C
Deuteranopia (green-blind)
#6F6638
Tritanopia (blue-blind)
#C0002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af213c; /* rgb */ color: rgb(175, 33, 60); /* oklch */ color: oklch(49.4% 0.176 16.9);
Tailwind
colors: {
custom: {
50: '#cf6c71',
500: '#af213c',
950: '#000000',
},
}SCSS
$custom: #af213c; $custom-light: #cf6c71; $custom-dark: #000000;
JSON
{
"hex": "#af213c",
"rgb": {
"r": 175,
"g": 33,
"b": 60
},
"hsl": {
"h": 348.592,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.49435,
"c": 0.17581,
"h": 16.9
},
"luminance": 0.10528
}Semantic roles & 50–950 ramp
primary
#AF213C
secondary
#64C8B5
accent
#EBCA3D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150807
muted
#837A7A