#AB5499#AB5499
#AB5499 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.142 H 335.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5499 |
|---|---|
| RGB | rgb(171, 84, 153) |
| HSL | hsl(312, 34%, 50%) |
| HSV | hsv(312, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 10.5%, 32.9%) |
| CIE-LAB | lab(48.64, 44.78, -21.69) |
| CIE-LCH | lch(48.64, 49.76, 334.16°) |
| OKLab | oklab(57.55% 0.1299 -0.0586) |
| OKLCH | oklch(57.55% 0.142 335.7) |
| XYZ | xyz(25.7148, 17.3002, 32.1157) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.18
Purplish
#94568C
ΔE00 4.98
Light Plum
#9D5783
ΔE00 5.54
Ugly Purple
#A442A0
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 6.71
Purpley Pink
#C83CB9
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5499 #54AB66
analogous
#9254AB #AB5499 #AB546D
triadic
#AB5499 #99AB54 #5499AB
tetradic
#AB5499 #AB9254 #54AB66 #546DAB
square
#AB5499 #AB9254 #54AB66 #546DAB
split-complementary
#AB5499 #6DAB54 #54AB92
monochromatic
#592C50 #824074 #AB5499 #BF7DB1 #D3A6CA
Accessibility & contrast
On white
4.71
#AB5499 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#AB5499 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5499
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5499 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556B9B
Deuteranopia (green-blind)
#6D7897
Tritanopia (blue-blind)
#B2586F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab5499; /* rgb */ color: rgb(171, 84, 153); /* oklch */ color: oklch(57.5% 0.142 335.7);
Tailwind
colors: {
custom: {
50: '#c687b7',
500: '#ab5499',
950: '#000000',
},
}SCSS
$custom: #ab5499; $custom-light: #c687b7; $custom-dark: #000000;
JSON
{
"hex": "#ab5499",
"rgb": {
"r": 171,
"g": 84,
"b": 153
},
"hsl": {
"h": 312.414,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.57548,
"c": 0.14248,
"h": 335.7
},
"luminance": 0.17298
}Semantic roles & 50–950 ramp
primary
#AB5499
secondary
#9AC1A2
accent
#CA745E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80