#AF213E#AF213E
#AF213E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 16.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AF213E |
|---|---|
| RGB | rgb(175, 33, 62) |
| HSL | hsl(348, 68%, 41%) |
| HSV | hsv(348, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 64.6%, 31.4%) |
| CIE-LAB | lab(38.82, 56.56, 20.19) |
| CIE-LCH | lch(38.82, 60.06, 19.64°) |
| OKLab | oklab(49.48% 0.169 0.0485) |
| OKLCH | oklch(49.48% 0.176 16) |
| XYZ | xyz(19.0946, 10.5524, 5.5879) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 1.87
Rose Red
#BE013C
ΔE00 2.70
Ruby
#CA0147
ΔE00 4.96
Cardinal
#C41E3A
ΔE00 5.02
Lipstick Red
#C0022F
ΔE00 5.29
Raspberry (survey)
#B00149
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF213E #21AF92
analogous
#AF2185 #AF213E #AF4B21
triadic
#AF213E #3EAF21 #213EAF
tetradic
#AF213E #85AF21 #21AF92 #4B21AF
square
#AF213E #85AF21 #21AF92 #4B21AF
split-complementary
#AF213E #21AF4B #2185AF
monochromatic
#480E1A #7C172C #AF213E #D93456 #E36881
Accessibility & contrast
On white
6.75
#AF213E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF213E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF213E
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF213E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF213E | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C493E
Deuteranopia (green-blind)
#6F663A
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af213e; /* rgb */ color: rgb(175, 33, 62); /* oklch */ color: oklch(49.5% 0.176 16.0);
Tailwind
colors: {
custom: {
50: '#cf6c73',
500: '#af213e',
950: '#000000',
},
}SCSS
$custom: #af213e; $custom-light: #cf6c73; $custom-dark: #000000;
JSON
{
"hex": "#af213e",
"rgb": {
"r": 175,
"g": 33,
"b": 62
},
"hsl": {
"h": 347.746,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.49475,
"c": 0.17584,
"h": 16
},
"luminance": 0.10549
}Semantic roles & 50–950 ramp
primary
#AF213E
secondary
#64C8B4
accent
#EBC73D
background
#FDF6F6
surface
#FBECEC
border
#D4C7C7
text
#150808
muted
#837A7B