#AB5299#AB5299
#AB5299 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.146 H 335.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5299 |
|---|---|
| RGB | rgb(171, 82, 153) |
| HSL | hsl(312, 35%, 50%) |
| HSV | hsv(312, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 10.5%, 32.9%) |
| CIE-LAB | lab(48.25, 45.79, -22.28) |
| CIE-LCH | lch(48.25, 50.92, 334.05°) |
| OKLab | oklab(57.26% 0.1328 -0.0603) |
| OKLCH | oklch(57.26% 0.146 335.6) |
| XYZ | xyz(25.5618, 16.9942, 32.0647) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.24
Purplish
#94568C
ΔE00 5.01
Ugly Purple
#A442A0
ΔE00 5.24
Light Plum
#9D5783
ΔE00 5.72
Medium Purple
#9E43A2
ΔE00 6.27
Purpley Pink
#C83CB9
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5299 #52AB64
analogous
#9152AB #AB5299 #AB526D
triadic
#AB5299 #99AB52 #5299AB
tetradic
#AB5299 #AB9152 #52AB64 #526DAB
square
#AB5299 #AB9152 #52AB64 #526DAB
split-complementary
#AB5299 #6DAB52 #52AB91
monochromatic
#582A4F #823E74 #AB5299 #C07BB2 #D3A4CA
Accessibility & contrast
On white
4.77
#AB5299 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#AB5299 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5299
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5299 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536A9B
Deuteranopia (green-blind)
#6C7797
Tritanopia (blue-blind)
#B2566E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab5299; /* rgb */ color: rgb(171, 82, 153); /* oklch */ color: oklch(57.3% 0.146 335.6);
Tailwind
colors: {
custom: {
50: '#c686b7',
500: '#ab5299',
950: '#000000',
},
}SCSS
$custom: #ab5299; $custom-light: #c686b7; $custom-dark: #000000;
JSON
{
"hex": "#ab5299",
"rgb": {
"r": 171,
"g": 82,
"b": 153
},
"hsl": {
"h": 312.135,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.57263,
"c": 0.14585,
"h": 335.6
},
"luminance": 0.16992
}Semantic roles & 50–950 ramp
primary
#AB5299
secondary
#98C1A0
accent
#CB735D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80