#AB316E#AB316E
#AB316E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.167 H 354.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AB316E |
|---|---|
| RGB | rgb(171, 49, 110) |
| HSL | hsl(330, 55%, 43%) |
| HSV | hsv(330, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 35.7%, 32.9%) |
| CIE-LAB | lab(41.19, 54.36, -6.88) |
| CIE-LCH | lch(41.19, 54.80, 352.79°) |
| OKLab | oklab(51.51% 0.1665 -0.0175) |
| OKLCH | oklch(51.51% 0.167 354) |
| XYZ | xyz(20.7086, 11.9828, 15.9712) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.60
Deep Magenta
#A0025C
ΔE00 5.96
Mediumvioletred
#C71585
ΔE00 6.09
Dark Fuchsia
#9D0759
ΔE00 6.32
Violet Red
#A50055
ΔE00 6.36
Red Violet
#9E0168
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB316E #31AB6E
analogous
#AB31AB #AB316E #AB3131
triadic
#AB316E #6EAB31 #316EAB
tetradic
#AB316E #ABAB31 #31AB6E #3131AB
square
#AB316E #ABAB31 #31AB6E #3131AB
split-complementary
#AB316E #31AB31 #31ABAB
monochromatic
#4C1631 #7B234F #AB316E #CC4D8D #DA7DAB
Accessibility & contrast
On white
6.18
#AB316E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AB316E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB316E
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB316E | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#B8264B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab316e; /* rgb */ color: rgb(171, 49, 110); /* oklch */ color: oklch(51.5% 0.167 354.0);
Tailwind
colors: {
custom: {
50: '#c87397',
500: '#ab316e',
950: '#000000',
},
}SCSS
$custom: #ab316e; $custom-light: #c87397; $custom-dark: #000000;
JSON
{
"hex": "#ab316e",
"rgb": {
"r": 171,
"g": 49,
"b": 110
},
"hsl": {
"h": 330,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.51505,
"c": 0.16742,
"h": 354
},
"luminance": 0.1198
}Semantic roles & 50–950 ramp
primary
#AB316E
secondary
#75C29C
accent
#DF9449
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E