#AB5697#AB5697
#AB5697 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.8% C 0.137 H 336.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5697 |
|---|---|
| RGB | rgb(171, 86, 151) |
| HSL | hsl(314, 34%, 50%) |
| HSV | hsv(314, 50%, 67%) |
| CMYK | cmyk(0%, 49.7%, 11.7%, 32.9%) |
| CIE-LAB | lab(48.95, 43.42, -20.03) |
| CIE-LCH | lch(48.95, 47.82, 335.24°) |
| OKLab | oklab(57.75% 0.1264 -0.054) |
| OKLCH | oklch(57.75% 0.137 336.9) |
| XYZ | xyz(25.7084, 17.5496, 31.3055) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.08
Purplish
#94568C
ΔE00 4.92
Light Plum
#9D5783
ΔE00 5.00
Ugly Purple
#A442A0
ΔE00 6.49
Medium Purple
#9E43A2
ΔE00 7.47
Dark Lilac
#9C6DA5
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5697 #56AB6A
analogous
#9556AB #AB5697 #AB566C
triadic
#AB5697 #97AB56 #5697AB
tetradic
#AB5697 #AB9556 #56AB6A #566CAB
square
#AB5697 #AB9556 #56AB6A #566CAB
split-complementary
#AB5697 #6CAB56 #56AB95
monochromatic
#5A2D4F #834173 #AB5697 #BF7FB0 #D4A8C9
Accessibility & contrast
On white
4.66
#AB5697 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#AB5697 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5697
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5697 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#6F7995
Tritanopia (blue-blind)
#B3596F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ab5697; /* rgb */ color: rgb(171, 86, 151); /* oklch */ color: oklch(57.8% 0.137 336.9);
Tailwind
colors: {
custom: {
50: '#c689b5',
500: '#ab5697',
950: '#000000',
},
}SCSS
$custom: #ab5697; $custom-light: #c689b5; $custom-dark: #000000;
JSON
{
"hex": "#ab5697",
"rgb": {
"r": 171,
"g": 86,
"b": 151
},
"hsl": {
"h": 314.118,
"s": 33.597,
"l": 50.392
},
"oklch": {
"l": 0.57751,
"c": 0.13745,
"h": 336.9
},
"luminance": 0.17548
}Semantic roles & 50–950 ramp
primary
#AB5697
secondary
#9BC1A4
accent
#CA775E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80