#AB5191#AB5191
#AB5191 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.141 H 339.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5191 |
|---|---|
| RGB | rgb(171, 81, 145) |
| HSL | hsl(317, 36%, 49%) |
| HSV | hsv(317, 53%, 67%) |
| CMYK | cmyk(0%, 52.6%, 15.2%, 32.9%) |
| CIE-LAB | lab(47.74, 44.98, -18.31) |
| CIE-LCH | lch(47.74, 48.56, 337.85°) |
| OKLab | oklab(56.77% 0.1324 -0.0491) |
| OKLCH | oklch(56.77% 0.141 339.7) |
| XYZ | xyz(24.8482, 16.5890, 28.6758) |
| Luminance | 0.1659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.02
Light Plum
#9D5783
ΔE00 4.35
Purplish
#94568C
ΔE00 4.88
Ugly Purple
#A442A0
ΔE00 6.34
Medium Purple
#9E43A2
ΔE00 7.44
Light Eggplant
#894585
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5191 #51AB6B
analogous
#9851AB #AB5191 #AB5164
triadic
#AB5191 #91AB51 #5191AB
tetradic
#AB5191 #AB9851 #51AB6B #5164AB
square
#AB5191 #AB9851 #51AB6B #5164AB
split-complementary
#AB5191 #64AB51 #51AB98
monochromatic
#582A4B #813D6E #AB5191 #C079AB #D3A3C5
Accessibility & contrast
On white
4.86
#AB5191 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#AB5191 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5191
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5191 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556893
Deuteranopia (green-blind)
#6E778F
Tritanopia (blue-blind)
#B4536A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab5191; /* rgb */ color: rgb(171, 81, 145); /* oklch */ color: oklch(56.8% 0.141 339.7);
Tailwind
colors: {
custom: {
50: '#c685b1',
500: '#ab5191',
950: '#000000',
},
}SCSS
$custom: #ab5191; $custom-light: #c685b1; $custom-dark: #000000;
JSON
{
"hex": "#ab5191",
"rgb": {
"r": 171,
"g": 81,
"b": 145
},
"hsl": {
"h": 317.333,
"s": 35.714,
"l": 49.412
},
"oklch": {
"l": 0.56774,
"c": 0.14123,
"h": 339.7
},
"luminance": 0.16587
}Semantic roles & 50–950 ramp
primary
#AB5191
secondary
#97C1A3
accent
#CC7C5C
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130B10
muted
#827C7F