#AF2F38#AF2F38
#AF2F38 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 21.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F38 |
|---|---|
| RGB | rgb(175, 47, 56) |
| HSL | hsl(356, 58%, 44%) |
| HSV | hsv(356, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 68%, 31.4%) |
| CIE-LAB | lab(40.30, 51.76, 25.81) |
| CIE-LCH | lch(40.30, 57.84, 26.51°) |
| OKLab | oklab(50.54% 0.1524 0.0605) |
| OKLCH | oklch(50.54% 0.164 21.7) |
| XYZ | xyz(19.4116, 11.4354, 4.9257) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.83
Brown
#A52A2A
ΔE00 3.85
Cardinal
#C41E3A
ΔE00 3.85
Dull Red
#BB3F3F
ΔE00 4.49
Rose Red
#BE013C
ΔE00 5.00
Rouge
#AB1239
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F38 #2FAFA6
analogous
#AF2F78 #AF2F38 #AF662F
triadic
#AF2F38 #38AF2F #2F38AF
tetradic
#AF2F38 #78AF2F #2FAFA6 #662FAF
square
#AF2F38 #78AF2F #2FAFA6 #662FAF
split-complementary
#AF2F38 #2FAF66 #2F78AF
monochromatic
#4F1519 #7F2229 #AF2F38 #CF4C55 #DC7C83
Accessibility & contrast
On white
6.39
#AF2F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F38
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F38 | 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)
#534E37
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f38; /* rgb */ color: rgb(175, 47, 56); /* oklch */ color: oklch(50.5% 0.164 21.7);
Tailwind
colors: {
custom: {
50: '#ce716e',
500: '#af2f38',
950: '#000000',
},
}SCSS
$custom: #af2f38; $custom-light: #ce716e; $custom-dark: #000000;
JSON
{
"hex": "#af2f38",
"rgb": {
"r": 175,
"g": 47,
"b": 56
},
"hsl": {
"h": 355.781,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50545,
"c": 0.16393,
"h": 21.7
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#AF2F38
secondary
#75C4BF
accent
#E1D647
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A