#AB4185#AB4185
#AB4185 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.158 H 344.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4185 |
|---|---|
| RGB | rgb(171, 65, 133) |
| HSL | hsl(322, 45%, 46%) |
| HSV | hsv(322, 62%, 67%) |
| CMYK | cmyk(0%, 62%, 22.2%, 32.9%) |
| CIE-LAB | lab(44.42, 50.76, -16.14) |
| CIE-LCH | lch(44.42, 53.27, 342.36°) |
| OKLab | oklab(54.17% 0.1523 -0.0429) |
| OKLCH | oklch(54.17% 0.158 344.3) |
| XYZ | xyz(22.9192, 14.1341, 23.7068) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.66
Light Plum
#9D5783
ΔE00 5.77
Purpleish
#98568D
ΔE00 6.13
Magenta (survey)
#C20078
ΔE00 6.62
Ugly Purple
#A442A0
ΔE00 6.70
Purplish
#94568C
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4185 #41AB67
analogous
#9C41AB #AB4185 #AB4150
triadic
#AB4185 #85AB41 #4185AB
tetradic
#AB4185 #AB9C41 #41AB67 #4150AB
square
#AB4185 #AB9C41 #41AB67 #4150AB
split-complementary
#AB4185 #50AB41 #41AB9C
monochromatic
#521F40 #7F3063 #AB4185 #C465A2 #D591BD
Accessibility & contrast
On white
5.49
#AB4185 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#AB4185 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4185
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4185 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#697082
Tritanopia (blue-blind)
#B6405D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ab4185; /* rgb */ color: rgb(171, 65, 133); /* oklch */ color: oklch(54.2% 0.158 344.3);
Tailwind
colors: {
custom: {
50: '#c77ca8',
500: '#ab4185',
950: '#000000',
},
}SCSS
$custom: #ab4185; $custom-light: #c77ca8; $custom-dark: #000000;
JSON
{
"hex": "#ab4185",
"rgb": {
"r": 171,
"g": 65,
"b": 133
},
"hsl": {
"h": 321.509,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.54166,
"c": 0.15826,
"h": 344.3
},
"luminance": 0.14132
}Semantic roles & 50–950 ramp
primary
#AB4185
secondary
#87C19C
accent
#D58253
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F