#AB2F4C#AB2F4C
#AB2F4C is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.160 H 11.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F4C |
|---|---|
| RGB | rgb(171, 47, 76) |
| HSL | hsl(346, 57%, 43%) |
| HSV | hsv(346, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 55.6%, 32.9%) |
| CIE-LAB | lab(39.94, 51.83, 12.70) |
| CIE-LCH | lch(39.94, 53.36, 13.77°) |
| OKLab | oklab(50.26% 0.1568 0.032) |
| OKLCH | oklch(50.26% 0.16 11.5) |
| XYZ | xyz(19.1174, 11.2154, 7.9942) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.12
Purplish Red
#B0054B
ΔE00 4.16
Light Burgundy
#A8415B
ΔE00 4.18
Rouge
#AB1239
ΔE00 4.71
Light Maroon
#A24857
ΔE00 5.05
Rose Red
#BE013C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F4C #2FAB8E
analogous
#AB2F8A #AB2F4C #AB502F
triadic
#AB2F4C #4CAB2F #2F4CAB
tetradic
#AB2F4C #8AAB2F #2FAB8E #502FAB
square
#AB2F4C #8AAB2F #2FAB8E #502FAB
split-complementary
#AB2F4C #2FAB50 #2F8AAB
monochromatic
#4B1521 #7B2237 #AB2F4C #CD4A69 #DA7A91
Accessibility & contrast
On white
6.48
#AB2F4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AB2F4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F4C
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F4C | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4C
Deuteranopia (green-blind)
#6F6749
Tritanopia (blue-blind)
#BB103B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f4c; /* rgb */ color: rgb(171, 47, 76); /* oklch */ color: oklch(50.3% 0.160 11.5);
Tailwind
colors: {
custom: {
50: '#ca717d',
500: '#ab2f4c',
950: '#000000',
},
}SCSS
$custom: #ab2f4c; $custom-light: #ca717d; $custom-dark: #000000;
JSON
{
"hex": "#ab2f4c",
"rgb": {
"r": 171,
"g": 47,
"b": 76
},
"hsl": {
"h": 345.968,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50263,
"c": 0.16004,
"h": 11.5
},
"luminance": 0.11213
}Semantic roles & 50–950 ramp
primary
#AB2F4C
secondary
#73C3B0
accent
#E0BC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B