#AB2A40#AB2A40
#AB2A40 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.164 H 16.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A40 |
|---|---|
| RGB | rgb(171, 42, 64) |
| HSL | hsl(350, 61%, 42%) |
| HSV | hsv(350, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 62.6%, 32.9%) |
| CIE-LAB | lab(39.05, 52.75, 19.08) |
| CIE-LCH | lch(39.05, 56.09, 19.88°) |
| OKLab | oklab(49.52% 0.1577 0.0463) |
| OKLCH | oklch(49.52% 0.164 16.4) |
| XYZ | xyz(18.5499, 10.6868, 5.9355) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.59
Rose Red
#BE013C
ΔE00 3.67
Cardinal
#C41E3A
ΔE00 5.39
Ruby
#CA0147
ΔE00 5.60
Lipstick Red
#C0022F
ΔE00 5.83
Raspberry (survey)
#B00149
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A40 #2AAB95
analogous
#AB2A81 #AB2A40 #AB542A
triadic
#AB2A40 #40AB2A #2A40AB
tetradic
#AB2A40 #81AB2A #2AAB95 #542AAB
square
#AB2A40 #81AB2A #2AAB95 #542AAB
split-complementary
#AB2A40 #2AAB54 #2A81AB
monochromatic
#49121B #7A1E2E #AB2A40 #D1425A #DD7385
Accessibility & contrast
On white
6.69
#AB2A40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB2A40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A40
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A40 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a40; /* rgb */ color: rgb(171, 42, 64); /* oklch */ color: oklch(49.5% 0.164 16.4);
Tailwind
colors: {
custom: {
50: '#cb6f74',
500: '#ab2a40',
950: '#000000',
},
}SCSS
$custom: #ab2a40; $custom-light: #cb6f74; $custom-dark: #000000;
JSON
{
"hex": "#ab2a40",
"rgb": {
"r": 171,
"g": 42,
"b": 64
},
"hsl": {
"h": 349.767,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49518,
"c": 0.16435,
"h": 16.4
},
"luminance": 0.10684
}Semantic roles & 50–950 ramp
primary
#AB2A40
secondary
#6DC4B5
accent
#E4C844
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B