#AB1F5D#AB1F5D
#AB1F5D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.179 H 0.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1F5D |
|---|---|
| RGB | rgb(171, 31, 93) |
| HSL | hsl(333, 69%, 40%) |
| HSV | hsv(333, 82%, 67%) |
| CMYK | cmyk(0%, 81.9%, 45.6%, 32.9%) |
| CIE-LAB | lab(38.60, 58.33, 0.01) |
| CIE-LCH | lch(38.60, 58.33, 0.01°) |
| OKLab | oklab(49.43% 0.1794 0.0007) |
| OKLCH | oklch(49.43% 0.179 0.2) |
| XYZ | xyz(19.2619, 10.4308, 11.3529) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.90
Deep Magenta
#A0025C
ΔE00 4.23
Dark Fuchsia
#9D0759
ΔE00 4.30
Berry
#990F4B
ΔE00 4.84
Purplish Red
#B0054B
ΔE00 4.88
Raspberry (survey)
#B00149
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1F5D #1FAB6D
analogous
#AB1FA3 #AB1F5D #AB271F
triadic
#AB1F5D #5DAB1F #1F5DAB
tetradic
#AB1F5D #A3AB1F #1FAB6D #271FAB
square
#AB1F5D #A3AB1F #1FAB6D #271FAB
split-complementary
#AB1F5D #1FAB27 #1FA3AB
monochromatic
#430C25 #771641 #AB1F5D #D92E7A #E3629B
Accessibility & contrast
On white
6.81
#AB1F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB1F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB1F5D
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1F5D | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424A5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#BA003C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab1f5d; /* rgb */ color: rgb(171, 31, 93); /* oklch */ color: oklch(49.4% 0.179 0.2);
Tailwind
colors: {
custom: {
50: '#ca6b8a',
500: '#ab1f5d',
950: '#000000',
},
}SCSS
$custom: #ab1f5d; $custom-light: #ca6b8a; $custom-dark: #000000;
JSON
{
"hex": "#ab1f5d",
"rgb": {
"r": 171,
"g": 31,
"b": 93
},
"hsl": {
"h": 333.429,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.49428,
"c": 0.17936,
"h": 0.2
},
"luminance": 0.10428
}Semantic roles & 50–950 ramp
primary
#AB1F5D
secondary
#5EC799
accent
#EC9E3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C