#AB164F#AB164F
#AB164F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 6.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AB164F |
|---|---|
| RGB | rgb(171, 22, 79) |
| HSL | hsl(337, 77%, 38%) |
| HSV | hsv(337, 87%, 67%) |
| CMYK | cmyk(0%, 87.1%, 53.8%, 32.9%) |
| CIE-LAB | lab(37.48, 59.22, 7.36) |
| CIE-LCH | lch(37.48, 59.68, 7.08°) |
| OKLab | oklab(48.47% 0.1811 0.0191) |
| OKLCH | oklch(48.47% 0.182 6) |
| XYZ | xyz(18.4946, 9.7990, 8.3132) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.51
Raspberry (survey)
#B00149
ΔE00 1.93
Violet Red
#A50055
ΔE00 3.87
Berry
#990F4B
ΔE00 4.12
Purple Red
#990147
ΔE00 4.39
Cranberry
#9E003A
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB164F #16AB72
analogous
#AB1699 #AB164F #AB2716
triadic
#AB164F #4FAB16 #164FAB
tetradic
#AB164F #99AB16 #16AB72 #2716AB
square
#AB164F #99AB16 #16AB72 #2716AB
split-complementary
#AB164F #16AB27 #1699AB
monochromatic
#3F081D #750F36 #AB164F #E11D68 #E9538C
Accessibility & contrast
On white
7.10
#AB164F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#AB164F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #AB164F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB164F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB164F | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#BB0031
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #ab164f; /* rgb */ color: rgb(171, 22, 79); /* oklch */ color: oklch(48.5% 0.182 6.0);
Tailwind
colors: {
custom: {
50: '#cb6880',
500: '#ab164f',
950: '#000000',
},
}SCSS
$custom: #ab164f; $custom-light: #cb6880; $custom-dark: #000000;
JSON
{
"hex": "#ab164f",
"rgb": {
"r": 171,
"g": 22,
"b": 79
},
"hsl": {
"h": 337.047,
"s": 77.202,
"l": 37.843
},
"oklch": {
"l": 0.48473,
"c": 0.1821,
"h": 6
},
"luminance": 0.09796
}Semantic roles & 50–950 ramp
primary
#AB164F
secondary
#52CB9D
accent
#F4AA34
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15070A
muted
#837A7C