#AB5293#AB5293
#AB5293 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.0% C 0.141 H 338.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5293 |
|---|---|
| RGB | rgb(171, 82, 147) |
| HSL | hsl(316, 35%, 50%) |
| HSV | hsv(316, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 14%, 32.9%) |
| CIE-LAB | lab(48.01, 44.80, -19.09) |
| CIE-LCH | lch(48.01, 48.69, 336.92°) |
| OKLab | oklab(57% 0.1314 -0.0513) |
| OKLCH | oklch(57% 0.141 338.7) |
| XYZ | xyz(25.0786, 16.8009, 29.5201) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 3.98
Light Plum
#9D5783
ΔE00 4.58
Purplish
#94568C
ΔE00 4.83
Ugly Purple
#A442A0
ΔE00 6.19
Medium Purple
#9E43A2
ΔE00 7.27
Light Eggplant
#894585
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5293 #52AB6A
analogous
#9752AB #AB5293 #AB5266
triadic
#AB5293 #93AB52 #5293AB
tetradic
#AB5293 #AB9752 #52AB6A #5266AB
square
#AB5293 #AB9752 #52AB6A #5266AB
split-complementary
#AB5293 #66AB52 #52AB97
monochromatic
#582A4C #823E6F #AB5293 #C07BAD #D3A4C7
Accessibility & contrast
On white
4.82
#AB5293 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#AB5293 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5293
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5293 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556995
Deuteranopia (green-blind)
#6E7791
Tritanopia (blue-blind)
#B3546C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab5293; /* rgb */ color: rgb(171, 82, 147); /* oklch */ color: oklch(57.0% 0.141 338.7);
Tailwind
colors: {
custom: {
50: '#c686b2',
500: '#ab5293',
950: '#000000',
},
}SCSS
$custom: #ab5293; $custom-light: #c686b2; $custom-dark: #000000;
JSON
{
"hex": "#ab5293",
"rgb": {
"r": 171,
"g": 82,
"b": 147
},
"hsl": {
"h": 316.18,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.57001,
"c": 0.14107,
"h": 338.7
},
"luminance": 0.16799
}Semantic roles & 50–950 ramp
primary
#AB5293
secondary
#98C1A3
accent
#CB7A5D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80