#AB2B42#AB2B42
#AB2B42 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.163 H 15.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B42 |
|---|---|
| RGB | rgb(171, 43, 66) |
| HSL | hsl(349, 60%, 42%) |
| HSV | hsv(349, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 61.4%, 32.9%) |
| CIE-LAB | lab(39.21, 52.54, 18.03) |
| CIE-LCH | lch(39.21, 55.55, 18.94°) |
| OKLab | oklab(49.65% 0.1574 0.044) |
| OKLCH | oklch(49.65% 0.163 15.6) |
| XYZ | xyz(18.6437, 10.7817, 6.2526) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.78
Rose Red
#BE013C
ΔE00 3.83
Raspberry (survey)
#B00149
ΔE00 5.47
Ruby
#CA0147
ΔE00 5.48
Cardinal
#C41E3A
ΔE00 5.68
Purplish Red
#B0054B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B42 #2BAB94
analogous
#AB2B82 #AB2B42 #AB542B
triadic
#AB2B42 #42AB2B #2B42AB
tetradic
#AB2B42 #82AB2B #2BAB94 #542BAB
square
#AB2B42 #82AB2B #2BAB94 #542BAB
split-complementary
#AB2B42 #2BAB54 #2B82AB
monochromatic
#49121C #7A1F2F #AB2B42 #D0435D #DC7487
Accessibility & contrast
On white
6.65
#AB2B42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2B42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B42
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B42 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#6F663F
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2b42; /* rgb */ color: rgb(171, 43, 66); /* oklch */ color: oklch(49.7% 0.163 15.6);
Tailwind
colors: {
custom: {
50: '#cb6f76',
500: '#ab2b42',
950: '#000000',
},
}SCSS
$custom: #ab2b42; $custom-light: #cb6f76; $custom-dark: #000000;
JSON
{
"hex": "#ab2b42",
"rgb": {
"r": 171,
"g": 43,
"b": 66
},
"hsl": {
"h": 349.219,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49651,
"c": 0.16344,
"h": 15.6
},
"luminance": 0.10779
}Semantic roles & 50–950 ramp
primary
#AB2B42
secondary
#6EC4B4
accent
#E3C745
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B