#AB2847#AB2847
#AB2847 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.167 H 12.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2847 |
|---|---|
| RGB | rgb(171, 40, 71) |
| HSL | hsl(346, 62%, 41%) |
| HSV | hsv(346, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 58.5%, 32.9%) |
| CIE-LAB | lab(38.96, 53.89, 14.52) |
| CIE-LCH | lch(38.96, 55.81, 15.08°) |
| OKLab | oklab(49.5% 0.1626 0.0361) |
| OKLCH | oklch(49.5% 0.167 12.5) |
| XYZ | xyz(18.6926, 10.6332, 7.0281) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.44
Raspberry (survey)
#B00149
ΔE00 3.68
Purplish Red
#B0054B
ΔE00 3.87
Rose Red
#BE013C
ΔE00 4.62
Cranberry
#9E003A
ΔE00 5.03
Light Burgundy
#A8415B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2847 #28AB8C
analogous
#AB2889 #AB2847 #AB4B28
triadic
#AB2847 #47AB28 #2847AB
tetradic
#AB2847 #89AB28 #28AB8C #4B28AB
square
#AB2847 #89AB28 #28AB8C #4B28AB
split-complementary
#AB2847 #28AB4B #2889AB
monochromatic
#48111E #791C32 #AB2847 #D23E61 #DE708A
Accessibility & contrast
On white
6.72
#AB2847 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2847 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2847
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2847 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4B47
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2847; /* rgb */ color: rgb(171, 40, 71); /* oklch */ color: oklch(49.5% 0.167 12.5);
Tailwind
colors: {
custom: {
50: '#cb6e79',
500: '#ab2847',
950: '#000000',
},
}SCSS
$custom: #ab2847; $custom-light: #cb6e79; $custom-dark: #000000;
JSON
{
"hex": "#ab2847",
"rgb": {
"r": 171,
"g": 40,
"b": 71
},
"hsl": {
"h": 345.802,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49497,
"c": 0.1666,
"h": 12.5
},
"luminance": 0.1063
}Semantic roles & 50–950 ramp
primary
#AB2847
secondary
#6AC4AF
accent
#E5BF43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B