#AB5291#AB5291
#AB5291 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.9% C 0.140 H 339.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5291 |
|---|---|
| RGB | rgb(171, 82, 145) |
| HSL | hsl(318, 35%, 50%) |
| HSV | hsv(318, 52%, 67%) |
| CMYK | cmyk(0%, 52%, 15.2%, 32.9%) |
| CIE-LAB | lab(47.93, 44.47, -18.01) |
| CIE-LCH | lch(47.93, 47.98, 337.95°) |
| OKLab | oklab(56.92% 0.1309 -0.0483) |
| OKLCH | oklch(56.92% 0.14 339.8) |
| XYZ | xyz(24.9230, 16.7387, 28.7008) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.00
Light Plum
#9D5783
ΔE00 4.23
Purplish
#94568C
ΔE00 4.87
Ugly Purple
#A442A0
ΔE00 6.56
Medium Purple
#9E43A2
ΔE00 7.64
Light Eggplant
#894585
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5291 #52AB6C
analogous
#9952AB #AB5291 #AB5265
triadic
#AB5291 #91AB52 #5291AB
tetradic
#AB5291 #AB9952 #52AB6C #5265AB
square
#AB5291 #AB9952 #52AB6C #5265AB
split-complementary
#AB5291 #65AB52 #52AB99
monochromatic
#582A4B #823E6E #AB5291 #C07BAB #D3A4C6
Accessibility & contrast
On white
4.83
#AB5291 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#AB5291 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5291
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5291 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566993
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#B4546B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab5291; /* rgb */ color: rgb(171, 82, 145); /* oklch */ color: oklch(56.9% 0.140 339.8);
Tailwind
colors: {
custom: {
50: '#c686b1',
500: '#ab5291',
950: '#000000',
},
}SCSS
$custom: #ab5291; $custom-light: #c686b1; $custom-dark: #000000;
JSON
{
"hex": "#ab5291",
"rgb": {
"r": 171,
"g": 82,
"b": 145
},
"hsl": {
"h": 317.528,
"s": 35.178,
"l": 49.608
},
"oklch": {
"l": 0.56916,
"c": 0.13955,
"h": 339.8
},
"luminance": 0.16737
}Semantic roles & 50–950 ramp
primary
#AB5291
secondary
#98C1A4
accent
#CB7D5D
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130B10
muted
#827C7F