#AB5482#AB5482
#AB5482 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.6% C 0.126 H 348.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5482 |
|---|---|
| RGB | rgb(171, 84, 130) |
| HSL | hsl(328, 34%, 50%) |
| HSV | hsv(328, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 24%, 32.9%) |
| CIE-LAB | lab(47.77, 41.15, -9.27) |
| CIE-LCH | lch(47.77, 42.18, 347.31°) |
| OKLab | oklab(56.61% 0.1237 -0.0242) |
| OKLCH | oklch(56.61% 0.126 348.9) |
| XYZ | xyz(23.9949, 16.6123, 23.0575) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.25
Purpleish
#98568D
ΔE00 6.10
Purplish
#94568C
ΔE00 6.80
Dusky Purple
#895B7B
ΔE00 7.88
Mediumvioletred
#C71585
ΔE00 8.98
Dull Purple
#84597E
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5482 #54AB7D
analogous
#A954AB #AB5482 #AB5456
triadic
#AB5482 #82AB54 #5482AB
tetradic
#AB5482 #ABA954 #54AB7D #5456AB
square
#AB5482 #ABA954 #54AB7D #5456AB
split-complementary
#AB5482 #56AB54 #54ABA9
monochromatic
#592C44 #824063 #AB5482 #BF7DA0 #D3A6BE
Accessibility & contrast
On white
4.86
#AB5482 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#AB5482 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5482
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5482 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5482 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6884
Deuteranopia (green-blind)
#747780
Tritanopia (blue-blind)
#B55265
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab5482; /* rgb */ color: rgb(171, 84, 130); /* oklch */ color: oklch(56.6% 0.126 348.9);
Tailwind
colors: {
custom: {
50: '#c687a6',
500: '#ab5482',
950: '#000000',
},
}SCSS
$custom: #ab5482; $custom-light: #c687a6; $custom-dark: #000000;
JSON
{
"hex": "#ab5482",
"rgb": {
"r": 171,
"g": 84,
"b": 130
},
"hsl": {
"h": 328.276,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.56614,
"c": 0.126,
"h": 348.9
},
"luminance": 0.1661
}Semantic roles & 50–950 ramp
primary
#AB5482
secondary
#9AC1AC
accent
#CA915E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B0F
muted
#827C7F