#AF2F39#AF2F39
#AF2F39 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.164 H 21.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F39 |
|---|---|
| RGB | rgb(175, 47, 57) |
| HSL | hsl(355, 58%, 44%) |
| HSV | hsv(355, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 67.4%, 31.4%) |
| CIE-LAB | lab(40.32, 51.81, 25.22) |
| CIE-LCH | lch(40.32, 57.63, 25.95°) |
| OKLab | oklab(50.56% 0.1527 0.0593) |
| OKLCH | oklch(50.56% 0.164 21.2) |
| XYZ | xyz(19.4363, 11.4453, 5.0558) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.79
Lipstick Red
#C0022F
ΔE00 3.89
Brown
#A52A2A
ΔE00 4.11
Dull Red
#BB3F3F
ΔE00 4.60
Rose Red
#BE013C
ΔE00 4.78
Rouge
#AB1239
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F39 #2FAFA5
analogous
#AF2F79 #AF2F39 #AF652F
triadic
#AF2F39 #39AF2F #2F39AF
tetradic
#AF2F39 #79AF2F #2FAFA5 #652FAF
square
#AF2F39 #79AF2F #2FAFA5 #652FAF
split-complementary
#AF2F39 #2FAF65 #2F79AF
monochromatic
#4F151A #7F2229 #AF2F39 #CF4C56 #DC7C84
Accessibility & contrast
On white
6.39
#AF2F39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2F39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F39
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F39 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534E38
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f39; /* rgb */ color: rgb(175, 47, 57); /* oklch */ color: oklch(50.6% 0.164 21.2);
Tailwind
colors: {
custom: {
50: '#ce716f',
500: '#af2f39',
950: '#000000',
},
}SCSS
$custom: #af2f39; $custom-light: #ce716f; $custom-dark: #000000;
JSON
{
"hex": "#af2f39",
"rgb": {
"r": 175,
"g": 47,
"b": 57
},
"hsl": {
"h": 355.313,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50562,
"c": 0.16386,
"h": 21.2
},
"luminance": 0.11442
}Semantic roles & 50–950 ramp
primary
#AF2F39
secondary
#75C4BE
accent
#E1D547
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A