#AF2F35#AF2F35
#AF2F35 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 22.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F35 |
|---|---|
| RGB | rgb(175, 47, 53) |
| HSL | hsl(357, 58%, 44%) |
| HSV | hsv(357, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 69.7%, 31.4%) |
| CIE-LAB | lab(40.26, 51.60, 27.59) |
| CIE-LCH | lch(40.26, 58.51, 28.13°) |
| OKLab | oklab(50.5% 0.1512 0.064) |
| OKLCH | oklch(50.5% 0.164 22.9) |
| XYZ | xyz(19.3404, 11.4069, 4.5508) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.13
Lipstick Red
#C0022F
ΔE00 3.83
Cardinal
#C41E3A
ΔE00 4.19
Dull Red
#BB3F3F
ΔE00 4.32
Firebrick
#B22222
ΔE00 4.43
Cherry (survey)
#CF0234
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F35 #2FAFA9
analogous
#AF2F75 #AF2F35 #AF692F
triadic
#AF2F35 #35AF2F #2F35AF
tetradic
#AF2F35 #75AF2F #2FAFA9 #692FAF
square
#AF2F35 #75AF2F #2FAFA9 #692FAF
split-complementary
#AF2F35 #2FAF69 #2F75AF
monochromatic
#4F1518 #7F2226 #AF2F35 #CF4C52 #DC7C81
Accessibility & contrast
On white
6.40
#AF2F35 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2F35 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F35
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F35 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F35 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D34
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f35; /* rgb */ color: rgb(175, 47, 53); /* oklch */ color: oklch(50.5% 0.164 22.9);
Tailwind
colors: {
custom: {
50: '#cf716c',
500: '#af2f35',
950: '#000000',
},
}SCSS
$custom: #af2f35; $custom-light: #cf716c; $custom-dark: #000000;
JSON
{
"hex": "#af2f35",
"rgb": {
"r": 175,
"g": 47,
"b": 53
},
"hsl": {
"h": 357.188,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50495,
"c": 0.16419,
"h": 22.9
},
"luminance": 0.11404
}Semantic roles & 50–950 ramp
primary
#AF2F35
secondary
#75C4C1
accent
#E1DA47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A