#AB4176#AB4176
#AB4176 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.6% C 0.150 H 352.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4176 |
|---|---|
| RGB | rgb(171, 65, 118) |
| HSL | hsl(330, 45%, 46%) |
| HSV | hsv(330, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 31%, 32.9%) |
| CIE-LAB | lab(43.87, 48.73, -7.81) |
| CIE-LCH | lch(43.87, 49.35, 350.89°) |
| OKLab | oklab(53.58% 0.1482 -0.0201) |
| OKLCH | oklch(53.58% 0.15 352.3) |
| XYZ | xyz(21.9559, 13.7488, 18.6335) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 6.14
Light Plum
#9D5783
ΔE00 6.19
Mediumvioletred
#C71585
ΔE00 6.41
Light Burgundy
#A8415B
ΔE00 7.78
Purpleish
#98568D
ΔE00 8.26
Deep Pink
#CB0162
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4176 #41AB76
analogous
#AB41AB #AB4176 #AB4141
triadic
#AB4176 #76AB41 #4176AB
tetradic
#AB4176 #ABAB41 #41AB76 #4141AB
square
#AB4176 #ABAB41 #41AB76 #4141AB
split-complementary
#AB4176 #41AB41 #41ABAB
monochromatic
#521F39 #7F3057 #AB4176 #C46595 #D591B3
Accessibility & contrast
On white
5.60
#AB4176 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#AB4176 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4176
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4176 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505C78
Deuteranopia (green-blind)
#6D6F73
Tritanopia (blue-blind)
#B73B56
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab4176; /* rgb */ color: rgb(171, 65, 118); /* oklch */ color: oklch(53.6% 0.150 352.3);
Tailwind
colors: {
custom: {
50: '#c77b9d',
500: '#ab4176',
950: '#000000',
},
}SCSS
$custom: #ab4176; $custom-light: #c77b9d; $custom-dark: #000000;
JSON
{
"hex": "#ab4176",
"rgb": {
"r": 171,
"g": 65,
"b": 118
},
"hsl": {
"h": 330,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.53575,
"c": 0.14959,
"h": 352.3
},
"luminance": 0.13747
}Semantic roles & 50–950 ramp
primary
#AB4176
secondary
#87C1A4
accent
#D59453
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E