#AB478F#AB478F
#AB478F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.156 H 339.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB478F |
|---|---|
| RGB | rgb(171, 71, 143) |
| HSL | hsl(317, 41%, 47%) |
| HSV | hsv(317, 58%, 67%) |
| CMYK | cmyk(0%, 58.5%, 16.4%, 32.9%) |
| CIE-LAB | lab(45.84, 49.51, -20.02) |
| CIE-LCH | lch(45.84, 53.41, 337.98°) |
| OKLab | oklab(55.34% 0.1464 -0.0538) |
| OKLCH | oklch(55.34% 0.156 339.8) |
| XYZ | xyz(24.0062, 15.1496, 27.6411) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.91
Ugly Purple
#A442A0
ΔE00 5.03
Purplish
#94568C
ΔE00 5.58
Light Plum
#9D5783
ΔE00 5.61
Medium Purple
#9E43A2
ΔE00 6.26
Mediumvioletred
#C71585
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB478F #47AB63
analogous
#9547AB #AB478F #AB475D
triadic
#AB478F #8FAB47 #478FAB
tetradic
#AB478F #AB9547 #47AB63 #475DAB
square
#AB478F #AB9547 #47AB63 #475DAB
split-complementary
#AB478F #5DAB47 #47AB95
monochromatic
#552347 #80356B #AB478F #C26DAA #D498C3
Accessibility & contrast
On white
5.21
#AB478F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AB478F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB478F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB478F | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6291
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#B44965
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab478f; /* rgb */ color: rgb(171, 71, 143); /* oklch */ color: oklch(55.3% 0.156 339.8);
Tailwind
colors: {
custom: {
50: '#c77fb0',
500: '#ab478f',
950: '#000000',
},
}SCSS
$custom: #ab478f; $custom-light: #c77fb0; $custom-dark: #000000;
JSON
{
"hex": "#ab478f",
"rgb": {
"r": 171,
"g": 71,
"b": 143
},
"hsl": {
"h": 316.8,
"s": 41.322,
"l": 47.451
},
"oklch": {
"l": 0.55341,
"c": 0.15595,
"h": 339.8
},
"luminance": 0.15148
}Semantic roles & 50–950 ramp
primary
#AB478F
secondary
#8DC09C
accent
#D17957
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F