#AB428B#AB428B
#AB428B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.161 H 341.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AB428B |
|---|---|
| RGB | rgb(171, 66, 139) |
| HSL | hsl(318, 44%, 46%) |
| HSV | hsv(318, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 18.7%, 32.9%) |
| CIE-LAB | lab(44.83, 51.19, -19.16) |
| CIE-LCH | lch(44.83, 54.66, 339.48°) |
| OKLab | oklab(54.54% 0.1524 -0.0513) |
| OKLCH | oklch(54.54% 0.161 341.4) |
| XYZ | xyz(23.4036, 14.4205, 25.9719) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.39
Purpleish
#98568D
ΔE00 5.65
Light Plum
#9D5783
ΔE00 6.04
Mediumvioletred
#C71585
ΔE00 6.07
Purplish
#94568C
ΔE00 6.24
Medium Purple
#9E43A2
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB428B #42AB62
analogous
#9742AB #AB428B #AB4257
triadic
#AB428B #8BAB42 #428BAB
tetradic
#AB428B #AB9742 #42AB62 #4257AB
square
#AB428B #AB9742 #42AB62 #4257AB
split-complementary
#AB428B #57AB42 #42AB97
monochromatic
#532043 #7F3167 #AB428B #C466A7 #D592C1
Accessibility & contrast
On white
5.41
#AB428B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#AB428B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB428B
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB428B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB428B | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#687088
Tritanopia (blue-blind)
#B54360
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab428b; /* rgb */ color: rgb(171, 66, 139); /* oklch */ color: oklch(54.5% 0.161 341.4);
Tailwind
colors: {
custom: {
50: '#c77dad',
500: '#ab428b',
950: '#000000',
},
}SCSS
$custom: #ab428b; $custom-light: #c77dad; $custom-dark: #000000;
JSON
{
"hex": "#ab428b",
"rgb": {
"r": 171,
"g": 66,
"b": 139
},
"hsl": {
"h": 318.286,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.54544,
"c": 0.16077,
"h": 341.4
},
"luminance": 0.14418
}Semantic roles & 50–950 ramp
primary
#AB428B
secondary
#88C099
accent
#D47B54
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F