#AB1F86#AB1F86
#AB1F86 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.199 H 341.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1F86 |
|---|---|
| RGB | rgb(171, 31, 134) |
| HSL | hsl(316, 69%, 40%) |
| HSV | hsv(316, 82%, 67%) |
| CMYK | cmyk(0%, 81.9%, 21.6%, 32.9%) |
| CIE-LAB | lab(40.18, 62.90, -23.28) |
| CIE-LCH | lch(40.18, 67.07, 339.69°) |
| OKLab | oklab(51.09% 0.1892 -0.0627) |
| OKLCH | oklch(51.09% 0.199 341.7) |
| XYZ | xyz(21.5884, 11.3614, 23.6057) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.25
Barney Purple
#A00498
ΔE00 5.88
Mediumvioletred
#C71585
ΔE00 5.93
Magenta (survey)
#C20078
ΔE00 6.14
Red Violet
#9E0168
ΔE00 6.19
Ugly Purple
#A442A0
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1F86 #1FAB44
analogous
#8A1FAB #AB1F86 #AB1F40
triadic
#AB1F86 #86AB1F #1F86AB
tetradic
#AB1F86 #AB8A1F #1FAB44 #1F40AB
square
#AB1F86 #AB8A1F #1FAB44 #1F40AB
split-complementary
#AB1F86 #40AB1F #1FAB8A
monochromatic
#430C35 #77165D #AB1F86 #D92EAC #E362C1
Accessibility & contrast
On white
6.42
#AB1F86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB1F86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1F86
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1F86 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5089
Deuteranopia (green-blind)
#5C6783
Tritanopia (blue-blind)
#B62252
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab1f86; /* rgb */ color: rgb(171, 31, 134); /* oklch */ color: oklch(51.1% 0.199 341.7);
Tailwind
colors: {
custom: {
50: '#c86da9',
500: '#ab1f86',
950: '#000000',
},
}SCSS
$custom: #ab1f86; $custom-light: #c86da9; $custom-dark: #000000;
JSON
{
"hex": "#ab1f86",
"rgb": {
"r": 171,
"g": 31,
"b": 134
},
"hsl": {
"h": 315.857,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.51089,
"c": 0.1993,
"h": 341.7
},
"luminance": 0.11359
}Semantic roles & 50–950 ramp
primary
#AB1F86
secondary
#5EC77A
accent
#EC6A3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F