#AB2F4D#AB2F4D
#AB2F4D is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.160 H 11.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F4D |
|---|---|
| RGB | rgb(171, 47, 77) |
| HSL | hsl(345, 57%, 43%) |
| HSV | hsv(345, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 55%, 32.9%) |
| CIE-LAB | lab(39.96, 51.91, 12.10) |
| CIE-LCH | lch(39.96, 53.30, 13.13°) |
| OKLab | oklab(50.29% 0.1572 0.0306) |
| OKLCH | oklch(50.29% 0.16 11) |
| XYZ | xyz(19.1524, 11.2294, 8.1787) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.99
Raspberry (survey)
#B00149
ΔE00 4.00
Purplish Red
#B0054B
ΔE00 4.00
Rouge
#AB1239
ΔE00 4.95
Light Maroon
#A24857
ΔE00 5.03
Rose Red
#BE013C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F4D #2FAB8D
analogous
#AB2F8B #AB2F4D #AB4F2F
triadic
#AB2F4D #4DAB2F #2F4DAB
tetradic
#AB2F4D #8BAB2F #2FAB8D #4F2FAB
square
#AB2F4D #8BAB2F #2FAB8D #4F2FAB
split-complementary
#AB2F4D #2FAB4F #2F8BAB
monochromatic
#4B1522 #7B2237 #AB2F4D #CD4A6A #DA7A91
Accessibility & contrast
On white
6.47
#AB2F4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AB2F4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F4D
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F4D | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4D
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#BB113B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f4d; /* rgb */ color: rgb(171, 47, 77); /* oklch */ color: oklch(50.3% 0.160 11.0);
Tailwind
colors: {
custom: {
50: '#ca717e',
500: '#ab2f4d',
950: '#000000',
},
}SCSS
$custom: #ab2f4d; $custom-light: #ca717e; $custom-dark: #000000;
JSON
{
"hex": "#ab2f4d",
"rgb": {
"r": 171,
"g": 47,
"b": 77
},
"hsl": {
"h": 345.484,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50288,
"c": 0.16014,
"h": 11
},
"luminance": 0.11227
}Semantic roles & 50–950 ramp
primary
#AB2F4D
secondary
#73C3AF
accent
#E0BB48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B