#AB5397#AB5397
#AB5397 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.143 H 336.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5397 |
|---|---|
| RGB | rgb(171, 83, 151) |
| HSL | hsl(314, 35%, 50%) |
| HSV | hsv(314, 51%, 67%) |
| CMYK | cmyk(0%, 51.5%, 11.7%, 32.9%) |
| CIE-LAB | lab(48.36, 44.95, -20.92) |
| CIE-LCH | lch(48.36, 49.58, 335.04°) |
| OKLab | oklab(57.32% 0.1309 -0.0565) |
| OKLCH | oklch(57.32% 0.143 336.7) |
| XYZ | xyz(25.4739, 17.0806, 31.2273) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.07
Purplish
#94568C
ΔE00 4.89
Light Plum
#9D5783
ΔE00 5.23
Ugly Purple
#A442A0
ΔE00 5.76
Medium Purple
#9E43A2
ΔE00 6.79
Purpley Pink
#C83CB9
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5397 #53AB67
analogous
#9353AB #AB5397 #AB536B
triadic
#AB5397 #97AB53 #5397AB
tetradic
#AB5397 #AB9353 #53AB67 #536BAB
square
#AB5397 #AB9353 #53AB67 #536BAB
split-complementary
#AB5397 #6BAB53 #53AB93
monochromatic
#592B4E #823F73 #AB5397 #BF7CB0 #D3A5C9
Accessibility & contrast
On white
4.76
#AB5397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#AB5397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5397
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5397 | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#B3576E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab5397; /* rgb */ color: rgb(171, 83, 151); /* oklch */ color: oklch(57.3% 0.143 336.7);
Tailwind
colors: {
custom: {
50: '#c687b5',
500: '#ab5397',
950: '#000000',
},
}SCSS
$custom: #ab5397; $custom-light: #c687b5; $custom-dark: #000000;
JSON
{
"hex": "#ab5397",
"rgb": {
"r": 171,
"g": 83,
"b": 151
},
"hsl": {
"h": 313.636,
"s": 34.646,
"l": 49.804
},
"oklch": {
"l": 0.57317,
"c": 0.14254,
"h": 336.7
},
"luminance": 0.17079
}Semantic roles & 50–950 ramp
primary
#AB5397
secondary
#99C1A2
accent
#CB765D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80