#AF2037#AF2037
#AF2037 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 18.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2037 |
|---|---|
| RGB | rgb(175, 32, 55) |
| HSL | hsl(350, 69%, 41%) |
| HSV | hsv(350, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 68.6%, 31.4%) |
| CIE-LAB | lab(38.60, 56.45, 24.32) |
| CIE-LCH | lch(38.60, 61.46, 23.30°) |
| OKLab | oklab(49.27% 0.1671 0.057) |
| OKLCH | oklch(49.27% 0.177 18.8) |
| XYZ | xyz(18.8874, 10.4258, 4.6316) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.81
Rose Red
#BE013C
ΔE00 3.20
Lipstick Red
#C0022F
ΔE00 3.70
Cardinal
#C41E3A
ΔE00 4.19
Brown
#A52A2A
ΔE00 5.08
Ruby
#CA0147
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2037 #20AF98
analogous
#AF207E #AF2037 #AF5120
triadic
#AF2037 #37AF20 #2037AF
tetradic
#AF2037 #7EAF20 #20AF98 #5120AF
square
#AF2037 #7EAF20 #20AF98 #5120AF
split-complementary
#AF2037 #20AF51 #207EAF
monochromatic
#480D16 #7B1727 #AF2037 #DA334D #E3667A
Accessibility & contrast
On white
6.81
#AF2037 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AF2037 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2037
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2037 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2037 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4837
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af2037; /* rgb */ color: rgb(175, 32, 55); /* oklch */ color: oklch(49.3% 0.177 18.8);
Tailwind
colors: {
custom: {
50: '#cf6b6d',
500: '#af2037',
950: '#000000',
},
}SCSS
$custom: #af2037; $custom-light: #cf6b6d; $custom-dark: #000000;
JSON
{
"hex": "#af2037",
"rgb": {
"r": 175,
"g": 32,
"b": 55
},
"hsl": {
"h": 350.35,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49272,
"c": 0.17659,
"h": 18.8
},
"luminance": 0.10423
}Semantic roles & 50–950 ramp
primary
#AF2037
secondary
#62C8B8
accent
#ECD03C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150807
muted
#837A7A