#AB2F4A#AB2F4A
#AB2F4A is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 12.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F4A |
|---|---|
| RGB | rgb(171, 47, 74) |
| HSL | hsl(347, 57%, 43%) |
| HSV | hsv(347, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 56.7%, 32.9%) |
| CIE-LAB | lab(39.90, 51.68, 13.90) |
| CIE-LCH | lch(39.90, 53.51, 15.06°) |
| OKLab | oklab(50.22% 0.156 0.0348) |
| OKLCH | oklch(50.22% 0.16 12.6) |
| XYZ | xyz(19.0489, 11.1880, 7.6337) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.27
Raspberry (survey)
#B00149
ΔE00 4.43
Purplish Red
#B0054B
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 4.60
Rose Red
#BE013C
ΔE00 5.06
Light Maroon
#A24857
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F4A #2FAB90
analogous
#AB2F88 #AB2F4A #AB522F
triadic
#AB2F4A #4AAB2F #2F4AAB
tetradic
#AB2F4A #88AB2F #2FAB90 #522FAB
square
#AB2F4A #88AB2F #2FAB90 #522FAB
split-complementary
#AB2F4A #2FAB52 #2F88AB
monochromatic
#4B1520 #7B2235 #AB2F4A #CD4A67 #DA7A8F
Accessibility & contrast
On white
6.49
#AB2F4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB2F4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F4A
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F4A | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4E4A
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#BB0F3A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f4a; /* rgb */ color: rgb(171, 47, 74); /* oklch */ color: oklch(50.2% 0.160 12.6);
Tailwind
colors: {
custom: {
50: '#ca717c',
500: '#ab2f4a',
950: '#000000',
},
}SCSS
$custom: #ab2f4a; $custom-light: #ca717c; $custom-dark: #000000;
JSON
{
"hex": "#ab2f4a",
"rgb": {
"r": 171,
"g": 47,
"b": 74
},
"hsl": {
"h": 346.935,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50215,
"c": 0.15984,
"h": 12.6
},
"luminance": 0.11185
}Semantic roles & 50–950 ramp
primary
#AB2F4A
secondary
#73C3B1
accent
#E0BF48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B