#AB528F#AB528F
#AB528F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.8% C 0.138 H 340.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AB528F |
|---|---|
| RGB | rgb(171, 82, 143) |
| HSL | hsl(319, 35%, 50%) |
| HSV | hsv(319, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 16.4%, 32.9%) |
| CIE-LAB | lab(47.85, 44.15, -16.94) |
| CIE-LCH | lch(47.85, 47.29, 339.01°) |
| OKLab | oklab(56.83% 0.1304 -0.0453) |
| OKLCH | oklch(56.83% 0.138 340.9) |
| XYZ | xyz(24.7702, 16.6776, 27.8957) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.91
Purpleish
#98568D
ΔE00 4.09
Purplish
#94568C
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 6.94
Medium Purple
#9E43A2
ΔE00 8.03
Mediumvioletred
#C71585
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB528F #52AB6E
analogous
#9A52AB #AB528F #AB5263
triadic
#AB528F #8FAB52 #528FAB
tetradic
#AB528F #AB9A52 #52AB6E #5263AB
square
#AB528F #AB9A52 #52AB6E #5263AB
split-complementary
#AB528F #63AB52 #52AB9A
monochromatic
#582A4A #823E6C #AB528F #C07BAA #D3A4C4
Accessibility & contrast
On white
4.84
#AB528F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#AB528F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB528F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB528F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB528F | 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)
#576991
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B4536A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab528f; /* rgb */ color: rgb(171, 82, 143); /* oklch */ color: oklch(56.8% 0.138 340.9);
Tailwind
colors: {
custom: {
50: '#c686b0',
500: '#ab528f',
950: '#000000',
},
}SCSS
$custom: #ab528f; $custom-light: #c686b0; $custom-dark: #000000;
JSON
{
"hex": "#ab528f",
"rgb": {
"r": 171,
"g": 82,
"b": 143
},
"hsl": {
"h": 318.876,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.56833,
"c": 0.13807,
"h": 340.9
},
"luminance": 0.16676
}Semantic roles & 50–950 ramp
primary
#AB528F
secondary
#98C1A5
accent
#CB7F5D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F