#AB428E#AB428E
#AB428E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.163 H 339.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AB428E |
|---|---|
| RGB | rgb(171, 66, 142) |
| HSL | hsl(317, 44%, 46%) |
| HSV | hsv(317, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 17%, 32.9%) |
| CIE-LAB | lab(44.95, 51.64, -20.78) |
| CIE-LCH | lch(44.95, 55.66, 338.08°) |
| OKLab | oklab(54.68% 0.153 -0.0559) |
| OKLCH | oklch(54.68% 0.163 339.9) |
| XYZ | xyz(23.6258, 14.5094, 27.1422) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.73
Purpleish
#98568D
ΔE00 5.59
Medium Purple
#9E43A2
ΔE00 5.97
Purplish
#94568C
ΔE00 6.17
Mediumvioletred
#C71585
ΔE00 6.32
Light Plum
#9D5783
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB428E #42AB5F
analogous
#9442AB #AB428E #AB425A
triadic
#AB428E #8EAB42 #428EAB
tetradic
#AB428E #AB9442 #42AB5F #425AAB
square
#AB428E #AB9442 #42AB5F #425AAB
split-complementary
#AB428E #5AAB42 #42AB94
monochromatic
#532045 #7F3169 #AB428E #C466AA #D592C3
Accessibility & contrast
On white
5.38
#AB428E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#AB428E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB428E
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB428E | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#67708B
Tritanopia (blue-blind)
#B44562
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab428e; /* rgb */ color: rgb(171, 66, 142); /* oklch */ color: oklch(54.7% 0.163 339.9);
Tailwind
colors: {
custom: {
50: '#c77daf',
500: '#ab428e',
950: '#000000',
},
}SCSS
$custom: #ab428e; $custom-light: #c77daf; $custom-dark: #000000;
JSON
{
"hex": "#ab428e",
"rgb": {
"r": 171,
"g": 66,
"b": 142
},
"hsl": {
"h": 316.571,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.54677,
"c": 0.16288,
"h": 339.9
},
"luminance": 0.14507
}Semantic roles & 50–950 ramp
primary
#AB428E
secondary
#88C098
accent
#D47754
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F