#AF2F34#AF2F34
#AF2F34 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 23.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F34 |
|---|---|
| RGB | rgb(175, 47, 52) |
| HSL | hsl(358, 58%, 44%) |
| HSV | hsv(358, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 70.3%, 31.4%) |
| CIE-LAB | lab(40.24, 51.55, 28.18) |
| CIE-LCH | lch(40.24, 58.75, 28.66°) |
| OKLab | oklab(50.48% 0.1508 0.0652) |
| OKLCH | oklch(50.48% 0.164 23.4) |
| XYZ | xyz(19.3177, 11.3978, 4.4310) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.93
Lipstick Red
#C0022F
ΔE00 3.89
Firebrick
#B22222
ΔE00 4.13
Dull Red
#BB3F3F
ΔE00 4.30
Cardinal
#C41E3A
ΔE00 4.35
Cherry (survey)
#CF0234
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F34 #2FAFAA
analogous
#AF2F74 #AF2F34 #AF6A2F
triadic
#AF2F34 #34AF2F #2F34AF
tetradic
#AF2F34 #74AF2F #2FAFAA #6A2FAF
square
#AF2F34 #74AF2F #2FAFAA #6A2FAF
split-complementary
#AF2F34 #2FAF6A #2F74AF
monochromatic
#4F1517 #7F2226 #AF2F34 #CF4C51 #DC7C80
Accessibility & contrast
On white
6.40
#AF2F34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2F34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F34
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F34 | 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)
#544D33
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f34; /* rgb */ color: rgb(175, 47, 52); /* oklch */ color: oklch(50.5% 0.164 23.4);
Tailwind
colors: {
custom: {
50: '#cf716b',
500: '#af2f34',
950: '#000000',
},
}SCSS
$custom: #af2f34; $custom-light: #cf716b; $custom-dark: #000000;
JSON
{
"hex": "#af2f34",
"rgb": {
"r": 175,
"g": 47,
"b": 52
},
"hsl": {
"h": 357.656,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50479,
"c": 0.16429,
"h": 23.4
},
"luminance": 0.11395
}Semantic roles & 50–950 ramp
primary
#AF2F34
secondary
#75C4C1
accent
#E1DB47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A