#AB2E47#AB2E47
#AB2E47 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.161 H 13.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E47 |
|---|---|
| RGB | rgb(171, 46, 71) |
| HSL | hsl(348, 58%, 43%) |
| HSV | hsv(348, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 58.5%, 32.9%) |
| CIE-LAB | lab(39.70, 51.82, 15.53) |
| CIE-LCH | lch(39.70, 54.10, 16.68°) |
| OKLab | oklab(50.05% 0.156 0.0385) |
| OKLCH | oklch(50.05% 0.161 13.9) |
| XYZ | xyz(18.9107, 11.0695, 7.1009) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.66
Rose Red
#BE013C
ΔE00 4.51
Raspberry (survey)
#B00149
ΔE00 4.82
Purplish Red
#B0054B
ΔE00 4.99
Light Burgundy
#A8415B
ΔE00 5.32
Ruby
#CA0147
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E47 #2EAB92
analogous
#AB2E86 #AB2E47 #AB532E
triadic
#AB2E47 #47AB2E #2E47AB
tetradic
#AB2E47 #86AB2E #2EAB92 #532EAB
square
#AB2E47 #86AB2E #2EAB92 #532EAB
split-complementary
#AB2E47 #2EAB53 #2E86AB
monochromatic
#4B141F #7B2133 #AB2E47 #CE4863 #DB798C
Accessibility & contrast
On white
6.54
#AB2E47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2E47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E47
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E47 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4D47
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#BB0938
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e47; /* rgb */ color: rgb(171, 46, 71); /* oklch */ color: oklch(50.0% 0.161 13.9);
Tailwind
colors: {
custom: {
50: '#ca717a',
500: '#ab2e47',
950: '#000000',
},
}SCSS
$custom: #ab2e47; $custom-light: #ca717a; $custom-dark: #000000;
JSON
{
"hex": "#ab2e47",
"rgb": {
"r": 171,
"g": 46,
"b": 71
},
"hsl": {
"h": 348,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50046,
"c": 0.16066,
"h": 13.9
},
"luminance": 0.11067
}Semantic roles & 50–950 ramp
primary
#AB2E47
secondary
#72C3B3
accent
#E1C247
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B