#AB507A#AB507A
#AB507A is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.7% C 0.128 H 353.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AB507A |
|---|---|
| RGB | rgb(171, 80, 122) |
| HSL | hsl(332, 36%, 49%) |
| HSV | hsv(332, 53%, 67%) |
| CMYK | cmyk(0%, 53.2%, 28.7%, 32.9%) |
| CIE-LAB | lab(46.71, 42.05, -6.01) |
| CIE-LCH | lch(46.71, 42.48, 351.87°) |
| OKLab | oklab(55.74% 0.1273 -0.0154) |
| OKLCH | oklch(55.74% 0.128 353.1) |
| XYZ | xyz(23.1770, 15.8025, 20.2381) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.49
Purpleish
#98568D
ΔE00 7.58
Light Burgundy
#A8415B
ΔE00 7.98
Purplish
#94568C
ΔE00 8.17
Dark Pink
#CB416B
ΔE00 8.31
Dusky Purple
#895B7B
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB507A #50AB81
analogous
#AB50A8 #AB507A #AB5450
triadic
#AB507A #7AAB50 #507AAB
tetradic
#AB507A #A8AB50 #50AB81 #5450AB
square
#AB507A #A8AB50 #50AB81 #5450AB
split-complementary
#AB507A #50AB54 #50A8AB
monochromatic
#58293F #813C5C #AB507A #C07899 #D3A2B9
Accessibility & contrast
On white
5.05
#AB507A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AB507A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB507A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB507A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB507A | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C657B
Deuteranopia (green-blind)
#747578
Tritanopia (blue-blind)
#B64C60
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab507a; /* rgb */ color: rgb(171, 80, 122); /* oklch */ color: oklch(55.7% 0.128 353.1);
Tailwind
colors: {
custom: {
50: '#c784a0',
500: '#ab507a',
950: '#000000',
},
}SCSS
$custom: #ab507a; $custom-light: #c784a0; $custom-dark: #000000;
JSON
{
"hex": "#ab507a",
"rgb": {
"r": 171,
"g": 80,
"b": 122
},
"hsl": {
"h": 332.308,
"s": 36.255,
"l": 49.216
},
"oklch": {
"l": 0.55737,
"c": 0.12824,
"h": 353.1
},
"luminance": 0.158
}Semantic roles & 50–950 ramp
primary
#AB507A
secondary
#96C1AD
accent
#CC985C
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E