#AB2A5A#AB2A5A
#AB2A5A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 3.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A5A |
|---|---|
| RGB | rgb(171, 42, 90) |
| HSL | hsl(338, 61%, 42%) |
| HSV | hsv(338, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 47.4%, 32.9%) |
| CIE-LAB | lab(39.67, 54.78, 3.47) |
| CIE-LCH | lch(39.67, 54.89, 3.62°) |
| OKLab | oklab(50.18% 0.1678 0.0095) |
| OKLCH | oklch(50.18% 0.168 3.2) |
| XYZ | xyz(19.4696, 11.0546, 10.7794) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.08
Violet Red
#A50055
ΔE00 4.43
Raspberry (survey)
#B00149
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 4.59
Berry
#990F4B
ΔE00 5.44
Deep Pink
#CB0162
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A5A #2AAB7B
analogous
#AB2A9B #AB2A5A #AB3A2A
triadic
#AB2A5A #5AAB2A #2A5AAB
tetradic
#AB2A5A #9BAB2A #2AAB7B #3A2AAB
square
#AB2A5A #9BAB2A #2AAB7B #3A2AAB
split-complementary
#AB2A5A #2AAB3A #2A9BAB
monochromatic
#491226 #7A1E40 #AB2A5A #D14277 #DD739A
Accessibility & contrast
On white
6.54
#AB2A5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2A5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A5A
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A5A | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6B6757
Tritanopia (blue-blind)
#BA0F3F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a5a; /* rgb */ color: rgb(171, 42, 90); /* oklch */ color: oklch(50.2% 0.168 3.2);
Tailwind
colors: {
custom: {
50: '#ca6f88',
500: '#ab2a5a',
950: '#000000',
},
}SCSS
$custom: #ab2a5a; $custom-light: #ca6f88; $custom-dark: #000000;
JSON
{
"hex": "#ab2a5a",
"rgb": {
"r": 171,
"g": 42,
"b": 90
},
"hsl": {
"h": 337.674,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.50183,
"c": 0.16805,
"h": 3.2
},
"luminance": 0.11052
}Semantic roles & 50–950 ramp
primary
#AB2A5A
secondary
#6DC4A4
accent
#E4A844
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C