#AB557F#AB557F
#AB557F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.7% C 0.123 H 351.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AB557F |
|---|---|
| RGB | rgb(171, 85, 127) |
| HSL | hsl(331, 34%, 50%) |
| HSV | hsv(331, 50%, 67%) |
| CMYK | cmyk(0%, 50.3%, 25.7%, 32.9%) |
| CIE-LAB | lab(47.87, 40.19, -7.31) |
| CIE-LCH | lch(47.87, 40.85, 349.69°) |
| OKLab | oklab(56.66% 0.1211 -0.0189) |
| OKLCH | oklch(56.66% 0.123 351.1) |
| XYZ | xyz(23.8746, 16.6892, 22.0385) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.74
Purpleish
#98568D
ΔE00 6.88
Purplish
#94568C
ΔE00 7.53
Dusky Purple
#895B7B
ΔE00 7.94
Dark Pink
#CB416B
ΔE00 9.05
Dark Mauve
#874C62
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB557F #55AB81
analogous
#AB55AA #AB557F #AB5655
triadic
#AB557F #7FAB55 #557FAB
tetradic
#AB557F #AAAB55 #55AB81 #5655AB
square
#AB557F #AAAB55 #55AB81 #5655AB
split-complementary
#AB557F #55AB56 #55AAAB
monochromatic
#592C42 #824061 #AB557F #BF7E9E #D3A7BD
Accessibility & contrast
On white
4.84
#AB557F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#AB557F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB557F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB557F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB557F | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6880
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#B65265
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab557f; /* rgb */ color: rgb(171, 85, 127); /* oklch */ color: oklch(56.7% 0.123 351.1);
Tailwind
colors: {
custom: {
50: '#c688a4',
500: '#ab557f',
950: '#000000',
},
}SCSS
$custom: #ab557f; $custom-light: #c688a4; $custom-dark: #000000;
JSON
{
"hex": "#ab557f",
"rgb": {
"r": 171,
"g": 85,
"b": 127
},
"hsl": {
"h": 330.698,
"s": 33.858,
"l": 50.196
},
"oklch": {
"l": 0.56655,
"c": 0.12261,
"h": 351.1
},
"luminance": 0.16687
}Semantic roles & 50–950 ramp
primary
#AB557F
secondary
#9BC1AE
accent
#CA955E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B0F
muted
#827C7F