#AB557E#AB557E
#AB557E is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.6% C 0.122 H 351.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AB557E |
|---|---|
| RGB | rgb(171, 85, 126) |
| HSL | hsl(331, 34%, 50%) |
| HSV | hsv(331, 50%, 67%) |
| CMYK | cmyk(0%, 50.3%, 26.3%, 32.9%) |
| CIE-LAB | lab(47.83, 40.05, -6.76) |
| CIE-LCH | lch(47.83, 40.62, 350.42°) |
| OKLab | oklab(56.62% 0.1208 -0.0174) |
| OKLCH | oklch(56.62% 0.122 351.8) |
| XYZ | xyz(23.8098, 16.6633, 21.6970) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.92
Purpleish
#98568D
ΔE00 7.11
Purplish
#94568C
ΔE00 7.75
Dusky Purple
#895B7B
ΔE00 7.99
Dark Pink
#CB416B
ΔE00 8.86
Light Burgundy
#A8415B
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB557E #55AB82
analogous
#AB55A9 #AB557E #AB5755
triadic
#AB557E #7EAB55 #557EAB
tetradic
#AB557E #A9AB55 #55AB82 #5755AB
square
#AB557E #A9AB55 #55AB82 #5755AB
split-complementary
#AB557E #55AB57 #55A9AB
monochromatic
#592C42 #824060 #AB557E #BF7E9D #D3A7BC
Accessibility & contrast
On white
4.85
#AB557E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#AB557E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB557E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB557E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB557E | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#76777C
Tritanopia (blue-blind)
#B65264
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab557e; /* rgb */ color: rgb(171, 85, 126); /* oklch */ color: oklch(56.6% 0.122 351.8);
Tailwind
colors: {
custom: {
50: '#c688a3',
500: '#ab557e',
950: '#000000',
},
}SCSS
$custom: #ab557e; $custom-light: #c688a3; $custom-dark: #000000;
JSON
{
"hex": "#ab557e",
"rgb": {
"r": 171,
"g": 85,
"b": 126
},
"hsl": {
"h": 331.395,
"s": 33.858,
"l": 50.196
},
"oklch": {
"l": 0.56619,
"c": 0.12206,
"h": 351.8
},
"luminance": 0.16661
}Semantic roles & 50–950 ramp
primary
#AB557E
secondary
#9BC1AF
accent
#CA965E
background
#FCF8FA
surface
#F8F0F3
border
#D1CBCD
text
#130B0F
muted
#827C7F