#AB1855#AB1855
#AB1855 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 3.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB1855 |
|---|---|
| RGB | rgb(171, 24, 85) |
| HSL | hsl(335, 75%, 38%) |
| HSV | hsv(335, 86%, 67%) |
| CMYK | cmyk(0%, 86%, 50.3%, 32.9%) |
| CIE-LAB | lab(37.79, 59.29, 3.94) |
| CIE-LCH | lch(37.79, 59.42, 3.80°) |
| OKLab | oklab(48.75% 0.182 0.0106) |
| OKLCH | oklch(48.75% 0.182 3.3) |
| XYZ | xyz(18.7626, 9.9698, 9.5289) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.77
Purplish Red
#B0054B
ΔE00 2.98
Raspberry (survey)
#B00149
ΔE00 3.45
Berry
#990F4B
ΔE00 3.95
Purple Red
#990147
ΔE00 4.52
Dark Fuchsia
#9D0759
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB1855 #18AB6E
analogous
#AB189E #AB1855 #AB2418
triadic
#AB1855 #55AB18 #1855AB
tetradic
#AB1855 #9EAB18 #18AB6E #2418AB
square
#AB1855 #9EAB18 #18AB6E #2418AB
split-complementary
#AB1855 #18AB24 #189EAB
monochromatic
#400920 #75103A #AB1855 #E02070 #E75692
Accessibility & contrast
On white
7.02
#AB1855 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#AB1855 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #AB1855
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB1855 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB1855 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414756
Deuteranopia (green-blind)
#676352
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #ab1855; /* rgb */ color: rgb(171, 24, 85); /* oklch */ color: oklch(48.8% 0.182 3.3);
Tailwind
colors: {
custom: {
50: '#ca6984',
500: '#ab1855',
950: '#000000',
},
}SCSS
$custom: #ab1855; $custom-light: #ca6984; $custom-dark: #000000;
JSON
{
"hex": "#ab1855",
"rgb": {
"r": 171,
"g": 24,
"b": 85
},
"hsl": {
"h": 335.102,
"s": 75.385,
"l": 38.235
},
"oklch": {
"l": 0.48753,
"c": 0.18226,
"h": 3.3
},
"luminance": 0.09967
}Semantic roles & 50–950 ramp
primary
#AB1855
secondary
#55CA99
accent
#F2A436
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C