#AB4783#AB4783
#AB4783 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.148 H 346.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4783 |
|---|---|
| RGB | rgb(171, 71, 131) |
| HSL | hsl(324, 41%, 47%) |
| HSV | hsv(324, 58%, 67%) |
| CMYK | cmyk(0%, 58.5%, 23.4%, 32.9%) |
| CIE-LAB | lab(45.37, 47.72, -13.49) |
| CIE-LCH | lch(45.37, 49.59, 344.21°) |
| OKLab | oklab(54.84% 0.1435 -0.0356) |
| OKLCH | oklch(54.84% 0.148 346) |
| XYZ | xyz(23.1453, 14.8052, 23.1070) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.60
Purpleish
#98568D
ΔE00 5.79
Mediumvioletred
#C71585
ΔE00 6.39
Purplish
#94568C
ΔE00 6.45
Magenta (survey)
#C20078
ΔE00 7.27
Ugly Purple
#A442A0
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4783 #47AB6F
analogous
#A147AB #AB4783 #AB4751
triadic
#AB4783 #83AB47 #4783AB
tetradic
#AB4783 #ABA147 #47AB6F #4751AB
square
#AB4783 #ABA147 #47AB6F #4751AB
split-complementary
#AB4783 #51AB47 #47ABA1
monochromatic
#552341 #803562 #AB4783 #C26DA0 #D498BC
Accessibility & contrast
On white
5.30
#AB4783 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AB4783 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4783
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4783 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516185
Deuteranopia (green-blind)
#6D7281
Tritanopia (blue-blind)
#B6455F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab4783; /* rgb */ color: rgb(171, 71, 131); /* oklch */ color: oklch(54.8% 0.148 346.0);
Tailwind
colors: {
custom: {
50: '#c77fa7',
500: '#ab4783',
950: '#000000',
},
}SCSS
$custom: #ab4783; $custom-light: #c77fa7; $custom-dark: #000000;
JSON
{
"hex": "#ab4783",
"rgb": {
"r": 171,
"g": 71,
"b": 131
},
"hsl": {
"h": 324,
"s": 41.322,
"l": 47.451
},
"oklch": {
"l": 0.54837,
"c": 0.14781,
"h": 346
},
"luminance": 0.14803
}Semantic roles & 50–950 ramp
primary
#AB4783
secondary
#8DC0A2
accent
#D18857
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A0F
muted
#827C7F