#AB2A42#AB2A42
#AB2A42 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.164 H 15.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A42 |
|---|---|
| RGB | rgb(171, 42, 66) |
| HSL | hsl(349, 61%, 42%) |
| HSV | hsv(349, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 61.4%, 32.9%) |
| CIE-LAB | lab(39.09, 52.88, 17.87) |
| CIE-LCH | lch(39.09, 55.82, 18.67°) |
| OKLab | oklab(49.56% 0.1585 0.0436) |
| OKLCH | oklch(49.56% 0.164 15.4) |
| XYZ | xyz(18.6078, 10.7099, 6.2406) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.67
Rose Red
#BE013C
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 5.28
Ruby
#CA0147
ΔE00 5.45
Purplish Red
#B0054B
ΔE00 5.56
Cranberry
#9E003A
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A42 #2AAB93
analogous
#AB2A83 #AB2A42 #AB532A
triadic
#AB2A42 #42AB2A #2A42AB
tetradic
#AB2A42 #83AB2A #2AAB93 #532AAB
square
#AB2A42 #83AB2A #2AAB93 #532AAB
split-complementary
#AB2A42 #2AAB53 #2A83AB
monochromatic
#49121C #7A1E2F #AB2A42 #D1425C #DD7387
Accessibility & contrast
On white
6.68
#AB2A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB2A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A42
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A42 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#6E663F
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a42; /* rgb */ color: rgb(171, 42, 66); /* oklch */ color: oklch(49.6% 0.164 15.4);
Tailwind
colors: {
custom: {
50: '#cb6f76',
500: '#ab2a42',
950: '#000000',
},
}SCSS
$custom: #ab2a42; $custom-light: #cb6f76; $custom-dark: #000000;
JSON
{
"hex": "#ab2a42",
"rgb": {
"r": 171,
"g": 42,
"b": 66
},
"hsl": {
"h": 348.837,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.4956,
"c": 0.1644,
"h": 15.4
},
"luminance": 0.10707
}Semantic roles & 50–950 ramp
primary
#AB2A42
secondary
#6DC4B4
accent
#E4C644
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B