#AB2E42#AB2E42
#AB2E42 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.160 H 16.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E42 |
|---|---|
| RGB | rgb(171, 46, 66) |
| HSL | hsl(350, 58%, 43%) |
| HSV | hsv(350, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 61.4%, 32.9%) |
| CIE-LAB | lab(39.59, 51.47, 18.54) |
| CIE-LCH | lch(39.59, 54.71, 19.80°) |
| OKLab | oklab(49.94% 0.154 0.0452) |
| OKLCH | oklch(49.94% 0.16 16.4) |
| XYZ | xyz(18.7568, 11.0080, 6.2903) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.20
Rose Red
#BE013C
ΔE00 3.98
Cardinal
#C41E3A
ΔE00 5.40
Ruby
#CA0147
ΔE00 5.62
Raspberry (survey)
#B00149
ΔE00 6.07
Lipstick Red
#C0022F
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E42 #2EAB97
analogous
#AB2E81 #AB2E42 #AB582E
triadic
#AB2E42 #42AB2E #2E42AB
tetradic
#AB2E42 #81AB2E #2EAB97 #582EAB
square
#AB2E42 #81AB2E #2EAB97 #582EAB
split-complementary
#AB2E42 #2EAB58 #2E81AB
monochromatic
#4B141D #7B212F #AB2E42 #CE485E #DB7988
Accessibility & contrast
On white
6.56
#AB2E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB2E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E42
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E42 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D42
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#BB0536
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e42; /* rgb */ color: rgb(171, 46, 66); /* oklch */ color: oklch(49.9% 0.160 16.4);
Tailwind
colors: {
custom: {
50: '#cb7076',
500: '#ab2e42',
950: '#000000',
},
}SCSS
$custom: #ab2e42; $custom-light: #cb7076; $custom-dark: #000000;
JSON
{
"hex": "#ab2e42",
"rgb": {
"r": 171,
"g": 46,
"b": 66
},
"hsl": {
"h": 350.4,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.49936,
"c": 0.16047,
"h": 16.4
},
"luminance": 0.11005
}Semantic roles & 50–950 ramp
primary
#AB2E42
secondary
#72C3B6
accent
#E1C847
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B