#AB518F#AB518F
#AB518F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.7% C 0.140 H 340.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AB518F |
|---|---|
| RGB | rgb(171, 81, 143) |
| HSL | hsl(319, 36%, 49%) |
| HSV | hsv(319, 53%, 67%) |
| CMYK | cmyk(0%, 52.6%, 16.4%, 32.9%) |
| CIE-LAB | lab(47.66, 44.66, -17.23) |
| CIE-LCH | lch(47.66, 47.87, 338.90°) |
| OKLab | oklab(56.69% 0.1319 -0.0461) |
| OKLCH | oklch(56.69% 0.14 340.7) |
| XYZ | xyz(24.6953, 16.5278, 27.8708) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.02
Purpleish
#98568D
ΔE00 4.10
Purplish
#94568C
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 6.73
Medium Purple
#9E43A2
ΔE00 7.83
Mediumvioletred
#C71585
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB518F #51AB6D
analogous
#9A51AB #AB518F #AB5162
triadic
#AB518F #8FAB51 #518FAB
tetradic
#AB518F #AB9A51 #51AB6D #5162AB
square
#AB518F #AB9A51 #51AB6D #5162AB
split-complementary
#AB518F #62AB51 #51AB9A
monochromatic
#582A4A #813D6C #AB518F #C079AA #D3A3C4
Accessibility & contrast
On white
4.88
#AB518F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#AB518F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB518F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB518F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB518F | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#6F768D
Tritanopia (blue-blind)
#B45269
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab518f; /* rgb */ color: rgb(171, 81, 143); /* oklch */ color: oklch(56.7% 0.140 340.7);
Tailwind
colors: {
custom: {
50: '#c685b0',
500: '#ab518f',
950: '#000000',
},
}SCSS
$custom: #ab518f; $custom-light: #c685b0; $custom-dark: #000000;
JSON
{
"hex": "#ab518f",
"rgb": {
"r": 171,
"g": 81,
"b": 143
},
"hsl": {
"h": 318.667,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.5669,
"c": 0.13974,
"h": 340.7
},
"luminance": 0.16526
}Semantic roles & 50–950 ramp
primary
#AB518F
secondary
#97C1A4
accent
#CC7F5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F