#AB2A4B#AB2A4B
#AB2A4B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.165 H 10.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A4B |
|---|---|
| RGB | rgb(171, 42, 75) |
| HSL | hsl(345, 61%, 42%) |
| HSV | hsv(345, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 56.1%, 32.9%) |
| CIE-LAB | lab(39.28, 53.52, 12.43) |
| CIE-LCH | lch(39.28, 54.95, 13.08°) |
| OKLab | oklab(49.77% 0.1621 0.0313) |
| OKLCH | oklch(49.77% 0.165 10.9) |
| XYZ | xyz(18.8944, 10.8245, 7.7497) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.33
Purplish Red
#B0054B
ΔE00 3.38
Rouge
#AB1239
ΔE00 4.45
Light Burgundy
#A8415B
ΔE00 4.65
Cranberry
#9E003A
ΔE00 5.37
Rose Red
#BE013C
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A4B #2AAB8A
analogous
#AB2A8C #AB2A4B #AB4A2A
triadic
#AB2A4B #4BAB2A #2A4BAB
tetradic
#AB2A4B #8CAB2A #2AAB8A #4A2AAB
square
#AB2A4B #8CAB2A #2AAB8A #4A2AAB
split-complementary
#AB2A4B #2AAB4A #2A8CAB
monochromatic
#491220 #7A1E35 #AB2A4B #D14266 #DD738E
Accessibility & contrast
On white
6.64
#AB2A4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2A4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A4B
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A4B | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a4b; /* rgb */ color: rgb(171, 42, 75); /* oklch */ color: oklch(49.8% 0.165 10.9);
Tailwind
colors: {
custom: {
50: '#ca6f7d',
500: '#ab2a4b',
950: '#000000',
},
}SCSS
$custom: #ab2a4b; $custom-light: #ca6f7d; $custom-dark: #000000;
JSON
{
"hex": "#ab2a4b",
"rgb": {
"r": 171,
"g": 42,
"b": 75
},
"hsl": {
"h": 344.651,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49769,
"c": 0.16508,
"h": 10.9
},
"luminance": 0.10822
}Semantic roles & 50–950 ramp
primary
#AB2A4B
secondary
#6DC4AE
accent
#E4BB44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B