#AB428F#AB428F
#AB428F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.164 H 339.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB428F |
|---|---|
| RGB | rgb(171, 66, 143) |
| HSL | hsl(316, 44%, 46%) |
| HSV | hsv(316, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 16.4%, 32.9%) |
| CIE-LAB | lab(45.00, 51.79, -21.31) |
| CIE-LCH | lch(45.00, 56.01, 337.63°) |
| OKLab | oklab(54.72% 0.1532 -0.0574) |
| OKLCH | oklch(54.72% 0.164 339.5) |
| XYZ | xyz(23.7012, 14.5395, 27.5394) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.51
Purpleish
#98568D
ΔE00 5.59
Medium Purple
#9E43A2
ΔE00 5.77
Purplish
#94568C
ΔE00 6.16
Mediumvioletred
#C71585
ΔE00 6.42
Light Plum
#9D5783
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB428F #42AB5E
analogous
#9342AB #AB428F #AB425B
triadic
#AB428F #8FAB42 #428FAB
tetradic
#AB428F #AB9342 #42AB5E #425BAB
square
#AB428F #AB9342 #42AB5E #425BAB
split-complementary
#AB428F #5BAB42 #42AB93
monochromatic
#532045 #7F316A #AB428F #C466AB #D592C3
Accessibility & contrast
On white
5.37
#AB428F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#AB428F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB428F
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB428F | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#66718C
Tritanopia (blue-blind)
#B44562
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab428f; /* rgb */ color: rgb(171, 66, 143); /* oklch */ color: oklch(54.7% 0.164 339.5);
Tailwind
colors: {
custom: {
50: '#c77db0',
500: '#ab428f',
950: '#000000',
},
}SCSS
$custom: #ab428f; $custom-light: #c77db0; $custom-dark: #000000;
JSON
{
"hex": "#ab428f",
"rgb": {
"r": 171,
"g": 66,
"b": 143
},
"hsl": {
"h": 316,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.54721,
"c": 0.16359,
"h": 339.5
},
"luminance": 0.14538
}Semantic roles & 50–950 ramp
primary
#AB428F
secondary
#88C097
accent
#D47654
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F