#AB528E#AB528E
#AB528E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.137 H 341.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AB528E |
|---|---|
| RGB | rgb(171, 82, 142) |
| HSL | hsl(320, 35%, 50%) |
| HSV | hsv(320, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 17%, 32.9%) |
| CIE-LAB | lab(47.81, 44.00, -16.40) |
| CIE-LCH | lch(47.81, 46.95, 339.56°) |
| OKLab | oklab(56.79% 0.1302 -0.0438) |
| OKLCH | oklch(56.79% 0.137 341.4) |
| XYZ | xyz(24.6948, 16.6474, 27.4986) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.76
Purpleish
#98568D
ΔE00 4.16
Purplish
#94568C
ΔE00 5.02
Ugly Purple
#A442A0
ΔE00 7.14
Medium Purple
#9E43A2
ΔE00 8.23
Mediumvioletred
#C71585
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB528E #52AB6F
analogous
#9C52AB #AB528E #AB5261
triadic
#AB528E #8EAB52 #528EAB
tetradic
#AB528E #AB9C52 #52AB6F #5261AB
square
#AB528E #AB9C52 #52AB6F #5261AB
split-complementary
#AB528E #61AB52 #52AB9C
monochromatic
#582A49 #823E6C #AB528E #C07BA9 #D3A4C4
Accessibility & contrast
On white
4.85
#AB528E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#AB528E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB528E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB528E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB528E | 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)
#576890
Deuteranopia (green-blind)
#70778C
Tritanopia (blue-blind)
#B45369
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab528e; /* rgb */ color: rgb(171, 82, 142); /* oklch */ color: oklch(56.8% 0.137 341.4);
Tailwind
colors: {
custom: {
50: '#c686af',
500: '#ab528e',
950: '#000000',
},
}SCSS
$custom: #ab528e; $custom-light: #c686af; $custom-dark: #000000;
JSON
{
"hex": "#ab528e",
"rgb": {
"r": 171,
"g": 82,
"b": 142
},
"hsl": {
"h": 319.551,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.56791,
"c": 0.13734,
"h": 341.4
},
"luminance": 0.16646
}Semantic roles & 50–950 ramp
primary
#AB528E
secondary
#98C1A5
accent
#CB815D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F