#AB2B47#AB2B47
#AB2B47 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.164 H 13.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B47 |
|---|---|
| RGB | rgb(171, 43, 71) |
| HSL | hsl(347, 60%, 42%) |
| HSV | hsv(347, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 58.5%, 32.9%) |
| CIE-LAB | lab(39.32, 52.88, 15.01) |
| CIE-LCH | lch(39.32, 54.97, 15.85°) |
| OKLab | oklab(49.76% 0.1594 0.0373) |
| OKLCH | oklch(49.76% 0.164 13.2) |
| XYZ | xyz(18.7976, 10.8433, 7.0632) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.50
Raspberry (survey)
#B00149
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.41
Rose Red
#BE013C
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 5.36
Cranberry
#9E003A
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B47 #2BAB8F
analogous
#AB2B87 #AB2B47 #AB4F2B
triadic
#AB2B47 #47AB2B #2B47AB
tetradic
#AB2B47 #87AB2B #2BAB8F #4F2BAB
square
#AB2B47 #87AB2B #2BAB8F #4F2BAB
split-complementary
#AB2B47 #2BAB4F #2B87AB
monochromatic
#49121E #7A1F33 #AB2B47 #D04362 #DC748B
Accessibility & contrast
On white
6.63
#AB2B47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2B47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B47
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B47 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4C47
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2b47; /* rgb */ color: rgb(171, 43, 71); /* oklch */ color: oklch(49.8% 0.164 13.2);
Tailwind
colors: {
custom: {
50: '#cb6f79',
500: '#ab2b47',
950: '#000000',
},
}SCSS
$custom: #ab2b47; $custom-light: #cb6f79; $custom-dark: #000000;
JSON
{
"hex": "#ab2b47",
"rgb": {
"r": 171,
"g": 43,
"b": 71
},
"hsl": {
"h": 346.875,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49763,
"c": 0.1637,
"h": 13.2
},
"luminance": 0.10841
}Semantic roles & 50–950 ramp
primary
#AB2B47
secondary
#6EC4B1
accent
#E3C045
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B