#AF2E39#AF2E39
#AF2E39 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.165 H 21.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E39 |
|---|---|
| RGB | rgb(175, 46, 57) |
| HSL | hsl(355, 58%, 43%) |
| HSV | hsv(355, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 67.4%, 31.4%) |
| CIE-LAB | lab(40.19, 52.17, 25.06) |
| CIE-LCH | lch(40.19, 57.88, 25.65°) |
| OKLab | oklab(50.47% 0.1539 0.059) |
| OKLCH | oklch(50.47% 0.165 21) |
| XYZ | xyz(19.3968, 11.3663, 5.0427) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.76
Lipstick Red
#C0022F
ΔE00 3.83
Brown
#A52A2A
ΔE00 4.19
Rose Red
#BE013C
ΔE00 4.60
Dull Red
#BB3F3F
ΔE00 4.77
Rouge
#AB1239
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E39 #2EAFA4
analogous
#AF2E79 #AF2E39 #AF632E
triadic
#AF2E39 #39AF2E #2E39AF
tetradic
#AF2E39 #79AF2E #2EAFA4 #632EAF
square
#AF2E39 #79AF2E #2EAFA4 #632EAF
split-complementary
#AF2E39 #2EAF63 #2E79AF
monochromatic
#4E1519 #7F2129 #AF2E39 #D04B56 #DC7B83
Accessibility & contrast
On white
6.42
#AF2E39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2E39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E39
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E39 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534D38
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2e39; /* rgb */ color: rgb(175, 46, 57); /* oklch */ color: oklch(50.5% 0.165 21.0);
Tailwind
colors: {
custom: {
50: '#ce716f',
500: '#af2e39',
950: '#000000',
},
}SCSS
$custom: #af2e39; $custom-light: #ce716f; $custom-dark: #000000;
JSON
{
"hex": "#af2e39",
"rgb": {
"r": 175,
"g": 46,
"b": 57
},
"hsl": {
"h": 354.884,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50465,
"c": 0.16481,
"h": 21
},
"luminance": 0.11363
}Semantic roles & 50–950 ramp
primary
#AF2E39
secondary
#74C5BE
accent
#E2D446
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A