#AB2C42#AB2C42
#AB2C42 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.162 H 15.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C42 |
|---|---|
| RGB | rgb(171, 44, 66) |
| HSL | hsl(350, 59%, 42%) |
| HSV | hsv(350, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 61.4%, 32.9%) |
| CIE-LAB | lab(39.34, 52.19, 18.20) |
| CIE-LCH | lch(39.34, 55.27, 19.22°) |
| OKLab | oklab(49.74% 0.1563 0.0444) |
| OKLCH | oklch(49.74% 0.162 15.9) |
| XYZ | xyz(18.6805, 10.8554, 6.2648) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.91
Rose Red
#BE013C
ΔE00 3.86
Ruby
#CA0147
ΔE00 5.52
Cardinal
#C41E3A
ΔE00 5.58
Raspberry (survey)
#B00149
ΔE00 5.67
Purplish Red
#B0054B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C42 #2CAB95
analogous
#AB2C82 #AB2C42 #AB552C
triadic
#AB2C42 #42AB2C #2C42AB
tetradic
#AB2C42 #82AB2C #2CAB95 #552CAB
square
#AB2C42 #82AB2C #2CAB95 #552CAB
split-complementary
#AB2C42 #2CAB55 #2C82AB
monochromatic
#4A131C #7A1F2F #AB2C42 #CF455D #DC7687
Accessibility & contrast
On white
6.62
#AB2C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C42
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C42 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#6F663F
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2c42; /* rgb */ color: rgb(171, 44, 66); /* oklch */ color: oklch(49.7% 0.162 15.9);
Tailwind
colors: {
custom: {
50: '#cb7076',
500: '#ab2c42',
950: '#000000',
},
}SCSS
$custom: #ab2c42; $custom-light: #cb7076; $custom-dark: #000000;
JSON
{
"hex": "#ab2c42",
"rgb": {
"r": 171,
"g": 44,
"b": 66
},
"hsl": {
"h": 349.606,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.49744,
"c": 0.16246,
"h": 15.9
},
"luminance": 0.10853
}Semantic roles & 50–950 ramp
primary
#AB2C42
secondary
#6FC3B5
accent
#E2C746
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B