#AB2947#AB2947
#AB2947 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 12.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2947 |
|---|---|
| RGB | rgb(171, 41, 71) |
| HSL | hsl(346, 61%, 42%) |
| HSV | hsv(346, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 58.5%, 32.9%) |
| CIE-LAB | lab(39.07, 53.56, 14.68) |
| CIE-LCH | lch(39.07, 55.54, 15.33°) |
| OKLab | oklab(49.58% 0.1616 0.0365) |
| OKLCH | oklch(49.58% 0.166 12.7) |
| XYZ | xyz(18.7267, 10.7014, 7.0395) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 4.04
Rose Red
#BE013C
ΔE00 4.59
Cranberry
#9E003A
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2947 #29AB8D
analogous
#AB2988 #AB2947 #AB4C29
triadic
#AB2947 #47AB29 #2947AB
tetradic
#AB2947 #88AB29 #29AB8D #4C29AB
square
#AB2947 #88AB29 #29AB8D #4C29AB
split-complementary
#AB2947 #29AB4C #2988AB
monochromatic
#48111E #7A1D33 #AB2947 #D14062 #DD718A
Accessibility & contrast
On white
6.69
#AB2947 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB2947 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2947
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2947 | 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)
#4C4B47
Deuteranopia (green-blind)
#6D6644
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2947; /* rgb */ color: rgb(171, 41, 71); /* oklch */ color: oklch(49.6% 0.166 12.7);
Tailwind
colors: {
custom: {
50: '#cb6e79',
500: '#ab2947',
950: '#000000',
},
}SCSS
$custom: #ab2947; $custom-light: #cb6e79; $custom-dark: #000000;
JSON
{
"hex": "#ab2947",
"rgb": {
"r": 171,
"g": 41,
"b": 71
},
"hsl": {
"h": 346.154,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49584,
"c": 0.16564,
"h": 12.7
},
"luminance": 0.10699
}Semantic roles & 50–950 ramp
primary
#AB2947
secondary
#6CC4B0
accent
#E4BF43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B