#AB2A5B#AB2A5B
#AB2A5B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 2.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A5B |
|---|---|
| RGB | rgb(171, 42, 91) |
| HSL | hsl(337, 61%, 42%) |
| HSV | hsv(337, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 46.8%, 32.9%) |
| CIE-LAB | lab(39.70, 54.87, 2.87) |
| CIE-LCH | lch(39.70, 54.94, 3.00°) |
| OKLab | oklab(50.21% 0.1681 0.008) |
| OKLCH | oklch(50.21% 0.168 2.7) |
| XYZ | xyz(19.5125, 11.0718, 11.0051) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.29
Violet Red
#A50055
ΔE00 4.34
Light Burgundy
#A8415B
ΔE00 4.73
Raspberry (survey)
#B00149
ΔE00 4.75
Berry
#990F4B
ΔE00 5.47
Deep Pink
#CB0162
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A5B #2AAB7A
analogous
#AB2A9C #AB2A5B #AB3A2A
triadic
#AB2A5B #5BAB2A #2A5BAB
tetradic
#AB2A5B #9CAB2A #2AAB7A #3A2AAB
square
#AB2A5B #9CAB2A #2AAB7A #3A2AAB
split-complementary
#AB2A5B #2AAB3A #2A9CAB
monochromatic
#491227 #7A1E41 #AB2A5B #D14278 #DD739B
Accessibility & contrast
On white
6.53
#AB2A5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2A5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A5B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A5B | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BA103F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2a5b; /* rgb */ color: rgb(171, 42, 91); /* oklch */ color: oklch(50.2% 0.168 2.7);
Tailwind
colors: {
custom: {
50: '#c96f89',
500: '#ab2a5b',
950: '#000000',
},
}SCSS
$custom: #ab2a5b; $custom-light: #c96f89; $custom-dark: #000000;
JSON
{
"hex": "#ab2a5b",
"rgb": {
"r": 171,
"g": 42,
"b": 91
},
"hsl": {
"h": 337.209,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.50213,
"c": 0.16833,
"h": 2.7
},
"luminance": 0.11069
}Semantic roles & 50–950 ramp
primary
#AB2A5B
secondary
#6DC4A3
accent
#E4A744
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C