#AB2747#AB2747
#AB2747 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.168 H 12.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2747 |
|---|---|
| RGB | rgb(171, 39, 71) |
| HSL | hsl(345, 63%, 41%) |
| HSV | hsv(345, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 58.5%, 32.9%) |
| CIE-LAB | lab(38.84, 54.21, 14.37) |
| CIE-LCH | lch(38.84, 56.08, 14.84°) |
| OKLab | oklab(49.41% 0.1637 0.0357) |
| OKLCH | oklch(49.41% 0.168 12.3) |
| XYZ | xyz(18.6593, 10.5666, 7.0170) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.43
Raspberry (survey)
#B00149
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.70
Rose Red
#BE013C
ΔE00 4.67
Cranberry
#9E003A
ΔE00 4.91
Light Burgundy
#A8415B
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2747 #27AB8B
analogous
#AB2789 #AB2747 #AB4927
triadic
#AB2747 #47AB27 #2747AB
tetradic
#AB2747 #89AB27 #27AB8B #4927AB
square
#AB2747 #89AB27 #27AB8B #4927AB
split-complementary
#AB2747 #27AB49 #2789AB
monochromatic
#47101E #791C32 #AB2747 #D33D61 #DE6E89
Accessibility & contrast
On white
6.75
#AB2747 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2747 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2747
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2747 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4A47
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2747; /* rgb */ color: rgb(171, 39, 71); /* oklch */ color: oklch(49.4% 0.168 12.3);
Tailwind
colors: {
custom: {
50: '#cb6e79',
500: '#ab2747',
950: '#000000',
},
}SCSS
$custom: #ab2747; $custom-light: #cb6e79; $custom-dark: #000000;
JSON
{
"hex": "#ab2747",
"rgb": {
"r": 171,
"g": 39,
"b": 71
},
"hsl": {
"h": 345.455,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49412,
"c": 0.16753,
"h": 12.3
},
"luminance": 0.10564
}Semantic roles & 50–950 ramp
primary
#AB2747
secondary
#69C5AE
accent
#E6BE42
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B