#AB2A4F#AB2A4F
#AB2A4F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.166 H 8.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A4F |
|---|---|
| RGB | rgb(171, 42, 79) |
| HSL | hsl(343, 61%, 42%) |
| HSV | hsv(343, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 53.8%, 32.9%) |
| CIE-LAB | lab(39.38, 53.83, 10.03) |
| CIE-LCH | lch(39.38, 54.76, 10.55°) |
| OKLab | oklab(49.87% 0.1637 0.0256) |
| OKLCH | oklch(49.87% 0.166 8.9) |
| XYZ | xyz(19.0356, 10.8810, 8.4935) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.92
Raspberry (survey)
#B00149
ΔE00 3.05
Light Burgundy
#A8415B
ΔE00 4.17
Rouge
#AB1239
ΔE00 5.54
Cranberry
#9E003A
ΔE00 5.74
Light Maroon
#A24857
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A4F #2AAB86
analogous
#AB2A90 #AB2A4F #AB462A
triadic
#AB2A4F #4FAB2A #2A4FAB
tetradic
#AB2A4F #90AB2A #2AAB86 #462AAB
square
#AB2A4F #90AB2A #2AAB86 #462AAB
split-complementary
#AB2A4F #2AAB46 #2A90AB
monochromatic
#491222 #7A1E38 #AB2A4F #D1426B #DD7391
Accessibility & contrast
On white
6.61
#AB2A4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2A4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A4F
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A4F | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C50
Deuteranopia (green-blind)
#6D664C
Tritanopia (blue-blind)
#BB043A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a4f; /* rgb */ color: rgb(171, 42, 79); /* oklch */ color: oklch(49.9% 0.166 8.9);
Tailwind
colors: {
custom: {
50: '#ca6f80',
500: '#ab2a4f',
950: '#000000',
},
}SCSS
$custom: #ab2a4f; $custom-light: #ca6f80; $custom-dark: #000000;
JSON
{
"hex": "#ab2a4f",
"rgb": {
"r": 171,
"g": 42,
"b": 79
},
"hsl": {
"h": 342.791,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49871,
"c": 0.16565,
"h": 8.9
},
"luminance": 0.10878
}Semantic roles & 50–950 ramp
primary
#AB2A4F
secondary
#6DC4AB
accent
#E4B644
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C