#AB5491#AB5491
#AB5491 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.2% C 0.136 H 340.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5491 |
|---|---|
| RGB | rgb(171, 84, 145) |
| HSL | hsl(318, 34%, 50%) |
| HSV | hsv(318, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 15.2%, 32.9%) |
| CIE-LAB | lab(48.32, 43.46, -17.42) |
| CIE-LCH | lch(48.32, 46.82, 338.16°) |
| OKLab | oklab(57.21% 0.1279 -0.0466) |
| OKLCH | oklch(57.21% 0.136 340) |
| XYZ | xyz(25.0761, 17.0447, 28.7518) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.02
Light Plum
#9D5783
ΔE00 4.03
Purplish
#94568C
ΔE00 4.90
Ugly Purple
#A442A0
ΔE00 7.01
Medium Purple
#9E43A2
ΔE00 8.05
Purplish Pink
#CE5DAE
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5491 #54AB6E
analogous
#9A54AB #AB5491 #AB5465
triadic
#AB5491 #91AB54 #5491AB
tetradic
#AB5491 #AB9A54 #54AB6E #5465AB
square
#AB5491 #AB9A54 #54AB6E #5465AB
split-complementary
#AB5491 #65AB54 #54AB9A
monochromatic
#592C4B #82406E #AB5491 #BF7DAB #D3A6C6
Accessibility & contrast
On white
4.76
#AB5491 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#AB5491 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5491
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5491 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586A93
Deuteranopia (green-blind)
#70788F
Tritanopia (blue-blind)
#B4566C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ab5491; /* rgb */ color: rgb(171, 84, 145); /* oklch */ color: oklch(57.2% 0.136 340.0);
Tailwind
colors: {
custom: {
50: '#c687b1',
500: '#ab5491',
950: '#000000',
},
}SCSS
$custom: #ab5491; $custom-light: #c687b1; $custom-dark: #000000;
JSON
{
"hex": "#ab5491",
"rgb": {
"r": 171,
"g": 84,
"b": 145
},
"hsl": {
"h": 317.931,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.57205,
"c": 0.13617,
"h": 340
},
"luminance": 0.17043
}Semantic roles & 50–950 ramp
primary
#AB5491
secondary
#9AC1A6
accent
#CA7E5E
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130B10
muted
#827C7F