#AB2A45#AB2A45
#AB2A45 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.165 H 13.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A45 |
|---|---|
| RGB | rgb(171, 42, 69) |
| HSL | hsl(347, 61%, 42%) |
| HSV | hsv(347, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 59.6%, 32.9%) |
| CIE-LAB | lab(39.15, 53.09, 16.05) |
| CIE-LCH | lch(39.15, 55.46, 16.83°) |
| OKLab | oklab(49.63% 0.1597 0.0396) |
| OKLCH | oklch(49.63% 0.165 13.9) |
| XYZ | xyz(18.6986, 10.7462, 6.7187) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.07
Rose Red
#BE013C
ΔE00 4.19
Raspberry (survey)
#B00149
ΔE00 4.50
Purplish Red
#B0054B
ΔE00 4.73
Cranberry
#9E003A
ΔE00 5.38
Ruby
#CA0147
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A45 #2AAB90
analogous
#AB2A86 #AB2A45 #AB502A
triadic
#AB2A45 #45AB2A #2A45AB
tetradic
#AB2A45 #86AB2A #2AAB90 #502AAB
square
#AB2A45 #86AB2A #2AAB90 #502AAB
split-complementary
#AB2A45 #2AAB50 #2A86AB
monochromatic
#49121D #7A1E31 #AB2A45 #D14260 #DD7389
Accessibility & contrast
On white
6.67
#AB2A45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AB2A45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A45
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A45 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B45
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a45; /* rgb */ color: rgb(171, 42, 69); /* oklch */ color: oklch(49.6% 0.165 13.9);
Tailwind
colors: {
custom: {
50: '#cb6f78',
500: '#ab2a45',
950: '#000000',
},
}SCSS
$custom: #ab2a45; $custom-light: #cb6f78; $custom-dark: #000000;
JSON
{
"hex": "#ab2a45",
"rgb": {
"r": 171,
"g": 42,
"b": 69
},
"hsl": {
"h": 347.442,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49626,
"c": 0.16454,
"h": 13.9
},
"luminance": 0.10744
}Semantic roles & 50–950 ramp
primary
#AB2A45
secondary
#6DC4B2
accent
#E4C244
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B