#AB3E87#AB3E87
#AB3E87 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.164 H 343.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3E87 |
|---|---|
| RGB | rgb(171, 62, 135) |
| HSL | hsl(320, 47%, 46%) |
| HSV | hsv(320, 64%, 67%) |
| CMYK | cmyk(0%, 63.7%, 21.1%, 32.9%) |
| CIE-LAB | lab(44.02, 52.36, -17.97) |
| CIE-LCH | lch(44.02, 55.36, 341.06°) |
| OKLab | oklab(53.9% 0.1568 -0.048) |
| OKLCH | oklch(53.9% 0.164 343) |
| XYZ | xyz(22.8911, 13.8546, 24.3856) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.51
Ugly Purple
#A442A0
ΔE00 6.04
Purpleish
#98568D
ΔE00 6.35
Light Plum
#9D5783
ΔE00 6.43
Magenta (survey)
#C20078
ΔE00 6.54
Purplish
#94568C
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3E87 #3EAB62
analogous
#983EAB #AB3E87 #AB3E50
triadic
#AB3E87 #87AB3E #3E87AB
tetradic
#AB3E87 #AB983E #3EAB62 #3E50AB
square
#AB3E87 #AB983E #3EAB62 #3E50AB
split-complementary
#AB3E87 #50AB3E #3EAB98
monochromatic
#511D40 #7E2E64 #AB3E87 #C661A4 #D68EBE
Accessibility & contrast
On white
5.57
#AB3E87 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#AB3E87 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3E87
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3E87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3E87 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475D89
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#B53E5D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab3e87; /* rgb */ color: rgb(171, 62, 135); /* oklch */ color: oklch(53.9% 0.164 343.0);
Tailwind
colors: {
custom: {
50: '#c77aaa',
500: '#ab3e87',
950: '#000000',
},
}SCSS
$custom: #ab3e87; $custom-light: #c77aaa; $custom-dark: #000000;
JSON
{
"hex": "#ab3e87",
"rgb": {
"r": 171,
"g": 62,
"b": 135
},
"hsl": {
"h": 319.817,
"s": 46.781,
"l": 45.686
},
"oklch": {
"l": 0.53897,
"c": 0.16396,
"h": 343
},
"luminance": 0.13852
}Semantic roles & 50–950 ramp
primary
#AB3E87
secondary
#84C198
accent
#D67D51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F