#AB3E8A#AB3E8A
#AB3E8A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.0% C 0.166 H 341.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3E8A |
|---|---|
| RGB | rgb(171, 62, 138) |
| HSL | hsl(318, 47%, 46%) |
| HSV | hsv(318, 64%, 67%) |
| CMYK | cmyk(0%, 63.7%, 19.3%, 32.9%) |
| CIE-LAB | lab(44.15, 52.80, -19.60) |
| CIE-LCH | lch(44.15, 56.32, 339.63°) |
| OKLab | oklab(54.03% 0.1574 -0.0525) |
| OKLCH | oklch(54.03% 0.166 341.5) |
| XYZ | xyz(23.1052, 13.9403, 25.5137) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.37
Mediumvioletred
#C71585
ΔE00 5.72
Purpleish
#98568D
ΔE00 6.22
Medium Purple
#9E43A2
ΔE00 6.56
Light Plum
#9D5783
ΔE00 6.67
Purplish
#94568C
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3E8A #3EAB5F
analogous
#953EAB #AB3E8A #AB3E53
triadic
#AB3E8A #8AAB3E #3E8AAB
tetradic
#AB3E8A #AB953E #3EAB5F #3E53AB
square
#AB3E8A #AB953E #3EAB5F #3E53AB
split-complementary
#AB3E8A #53AB3E #3EAB95
monochromatic
#511D42 #7E2E66 #AB3E8A #C661A7 #D68EC0
Accessibility & contrast
On white
5.54
#AB3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#AB3E8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3E8A
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3E8A | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#B53F5E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab3e8a; /* rgb */ color: rgb(171, 62, 138); /* oklch */ color: oklch(54.0% 0.166 341.5);
Tailwind
colors: {
custom: {
50: '#c77aac',
500: '#ab3e8a',
950: '#000000',
},
}SCSS
$custom: #ab3e8a; $custom-light: #c77aac; $custom-dark: #000000;
JSON
{
"hex": "#ab3e8a",
"rgb": {
"r": 171,
"g": 62,
"b": 138
},
"hsl": {
"h": 318.165,
"s": 46.781,
"l": 45.686
},
"oklch": {
"l": 0.54029,
"c": 0.16597,
"h": 341.5
},
"luminance": 0.13938
}Semantic roles & 50–950 ramp
primary
#AB3E8A
secondary
#84C196
accent
#D67A51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F