#AB4792#AB4792
#AB4792 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.158 H 338.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4792 |
|---|---|
| RGB | rgb(171, 71, 146) |
| HSL | hsl(315, 41%, 47%) |
| HSV | hsv(315, 58%, 67%) |
| CMYK | cmyk(0%, 58.5%, 14.6%, 32.9%) |
| CIE-LAB | lab(45.96, 49.98, -21.63) |
| CIE-LCH | lch(45.96, 54.46, 336.60°) |
| OKLab | oklab(55.47% 0.147 -0.0583) |
| OKLCH | oklch(55.47% 0.158 338.4) |
| XYZ | xyz(24.2365, 15.2417, 28.8540) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.40
Purpleish
#98568D
ΔE00 4.93
Purplish
#94568C
ΔE00 5.58
Medium Purple
#9E43A2
ΔE00 5.65
Light Plum
#9D5783
ΔE00 6.03
Light Eggplant
#894585
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4792 #47AB60
analogous
#9247AB #AB4792 #AB4760
triadic
#AB4792 #92AB47 #4792AB
tetradic
#AB4792 #AB9247 #47AB60 #4760AB
square
#AB4792 #AB9247 #47AB60 #4760AB
split-complementary
#AB4792 #60AB47 #47AB92
monochromatic
#552348 #80356D #AB4792 #C26DAD #D498C5
Accessibility & contrast
On white
5.19
#AB4792 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AB4792 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4792
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4792 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6394
Deuteranopia (green-blind)
#68738F
Tritanopia (blue-blind)
#B44A66
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab4792; /* rgb */ color: rgb(171, 71, 146); /* oklch */ color: oklch(55.5% 0.158 338.4);
Tailwind
colors: {
custom: {
50: '#c77fb2',
500: '#ab4792',
950: '#000000',
},
}SCSS
$custom: #ab4792; $custom-light: #c77fb2; $custom-dark: #000000;
JSON
{
"hex": "#ab4792",
"rgb": {
"r": 171,
"g": 71,
"b": 146
},
"hsl": {
"h": 315,
"s": 41.322,
"l": 47.451
},
"oklch": {
"l": 0.55474,
"c": 0.15816,
"h": 338.4
},
"luminance": 0.1524
}Semantic roles & 50–950 ramp
primary
#AB4792
secondary
#8DC09A
accent
#D17557
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130A11
muted
#827C80