#AB428A#AB428A
#AB428A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.160 H 341.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AB428A |
|---|---|
| RGB | rgb(171, 66, 138) |
| HSL | hsl(319, 44%, 46%) |
| HSV | hsv(319, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 19.3%, 32.9%) |
| CIE-LAB | lab(44.79, 51.04, -18.61) |
| CIE-LCH | lch(44.79, 54.33, 339.96°) |
| OKLab | oklab(54.5% 0.1521 -0.0498) |
| OKLCH | oklch(54.5% 0.16 341.9) |
| XYZ | xyz(23.3308, 14.3914, 25.5889) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.62
Purpleish
#98568D
ΔE00 5.68
Light Plum
#9D5783
ΔE00 5.94
Mediumvioletred
#C71585
ΔE00 6.00
Purplish
#94568C
ΔE00 6.28
Medium Purple
#9E43A2
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB428A #42AB63
analogous
#9842AB #AB428A #AB4256
triadic
#AB428A #8AAB42 #428AAB
tetradic
#AB428A #AB9842 #42AB63 #4256AB
square
#AB428A #AB9842 #42AB63 #4256AB
split-complementary
#AB428A #56AB42 #42AB98
monochromatic
#532043 #7F3166 #AB428A #C466A7 #D592C0
Accessibility & contrast
On white
5.42
#AB428A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#AB428A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB428A
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB428A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB428A | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#B54360
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab428a; /* rgb */ color: rgb(171, 66, 138); /* oklch */ color: oklch(54.5% 0.160 341.9);
Tailwind
colors: {
custom: {
50: '#c77cac',
500: '#ab428a',
950: '#000000',
},
}SCSS
$custom: #ab428a; $custom-light: #c77cac; $custom-dark: #000000;
JSON
{
"hex": "#ab428a",
"rgb": {
"r": 171,
"g": 66,
"b": 138
},
"hsl": {
"h": 318.857,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.545,
"c": 0.16008,
"h": 341.9
},
"luminance": 0.14389
}Semantic roles & 50–950 ramp
primary
#AB428A
secondary
#88C09A
accent
#D47C54
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F