#AB529B#AB529B
#AB529B is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.147 H 334.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB529B |
|---|---|
| RGB | rgb(171, 82, 155) |
| HSL | hsl(311, 35%, 50%) |
| HSV | hsv(311, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 9.4%, 32.9%) |
| CIE-LAB | lab(48.34, 46.13, -23.34) |
| CIE-LCH | lch(48.34, 51.70, 333.16°) |
| OKLab | oklab(57.35% 0.1332 -0.0633) |
| OKLCH | oklch(57.35% 0.147 334.6) |
| XYZ | xyz(25.7283, 17.0608, 32.9419) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.42
Ugly Purple
#A442A0
ΔE00 4.98
Purplish
#94568C
ΔE00 5.15
Medium Purple
#9E43A2
ΔE00 5.99
Light Plum
#9D5783
ΔE00 6.11
Purpley Pink
#C83CB9
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB529B #52AB62
analogous
#8F52AB #AB529B #AB526E
triadic
#AB529B #9BAB52 #529BAB
tetradic
#AB529B #AB8F52 #52AB62 #526EAB
square
#AB529B #AB8F52 #52AB62 #526EAB
split-complementary
#AB529B #6EAB52 #52AB8F
monochromatic
#582A50 #823E76 #AB529B #C07BB3 #D3A4CB
Accessibility & contrast
On white
4.76
#AB529B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#AB529B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB529B
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB529B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB529B | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526A9D
Deuteranopia (green-blind)
#6B7899
Tritanopia (blue-blind)
#B2576F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab529b; /* rgb */ color: rgb(171, 82, 155); /* oklch */ color: oklch(57.4% 0.147 334.6);
Tailwind
colors: {
custom: {
50: '#c686b8',
500: '#ab529b',
950: '#000000',
},
}SCSS
$custom: #ab529b; $custom-light: #c686b8; $custom-dark: #000000;
JSON
{
"hex": "#ab529b",
"rgb": {
"r": 171,
"g": 82,
"b": 155
},
"hsl": {
"h": 310.787,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.57353,
"c": 0.14749,
"h": 334.6
},
"luminance": 0.17059
}Semantic roles & 50–950 ramp
primary
#AB529B
secondary
#98C19F
accent
#CB705D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80