#AB408A#AB408A
#AB408A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.163 H 341.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AB408A |
|---|---|
| RGB | rgb(171, 64, 138) |
| HSL | hsl(319, 46%, 46%) |
| HSV | hsv(319, 63%, 67%) |
| CMYK | cmyk(0%, 62.6%, 19.3%, 32.9%) |
| CIE-LAB | lab(44.46, 51.93, -19.11) |
| CIE-LCH | lch(44.46, 55.33, 339.79°) |
| OKLab | oklab(54.26% 0.1548 -0.0512) |
| OKLCH | oklch(54.26% 0.163 341.7) |
| XYZ | xyz(23.2160, 14.1618, 25.5506) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.48
Mediumvioletred
#C71585
ΔE00 5.84
Purpleish
#98568D
ΔE00 5.95
Light Plum
#9D5783
ΔE00 6.31
Purplish
#94568C
ΔE00 6.51
Medium Purple
#9E43A2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB408A #40AB61
analogous
#9640AB #AB408A #AB4054
triadic
#AB408A #8AAB40 #408AAB
tetradic
#AB408A #AB9640 #40AB61 #4054AB
square
#AB408A #AB9640 #40AB61 #4054AB
split-complementary
#AB408A #54AB40 #40AB96
monochromatic
#521F42 #7E2F66 #AB408A #C563A7 #D590C0
Accessibility & contrast
On white
5.48
#AB408A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#AB408A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB408A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB408A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB408A | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#677087
Tritanopia (blue-blind)
#B5415F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ab408a; /* rgb */ color: rgb(171, 64, 138); /* oklch */ color: oklch(54.3% 0.163 341.7);
Tailwind
colors: {
custom: {
50: '#c77bac',
500: '#ab408a',
950: '#000000',
},
}SCSS
$custom: #ab408a; $custom-light: #c77bac; $custom-dark: #000000;
JSON
{
"hex": "#ab408a",
"rgb": {
"r": 171,
"g": 64,
"b": 138
},
"hsl": {
"h": 318.505,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.54261,
"c": 0.16305,
"h": 341.7
},
"luminance": 0.1416
}Semantic roles & 50–950 ramp
primary
#AB408A
secondary
#86C198
accent
#D57B53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F