#AB2555#AB2555
#AB2555 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.172 H 5.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2555 |
|---|---|
| RGB | rgb(171, 37, 85) |
| HSL | hsl(339, 64%, 41%) |
| HSV | hsv(339, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 50.3%, 32.9%) |
| CIE-LAB | lab(38.97, 55.93, 5.63) |
| CIE-LCH | lch(38.97, 56.21, 5.75°) |
| OKLab | oklab(49.62% 0.1711 0.0149) |
| OKLCH | oklch(49.62% 0.172 5) |
| XYZ | xyz(19.0975, 10.6396, 9.6406) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.90
Raspberry (survey)
#B00149
ΔE00 3.34
Violet Red
#A50055
ΔE00 4.33
Light Burgundy
#A8415B
ΔE00 4.84
Berry
#990F4B
ΔE00 4.95
Purple Red
#990147
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2555 #25AB7B
analogous
#AB2598 #AB2555 #AB3825
triadic
#AB2555 #55AB25 #2555AB
tetradic
#AB2555 #98AB25 #25AB7B #3825AB
square
#AB2555 #98AB25 #25AB7B #3825AB
split-complementary
#AB2555 #25AB38 #2598AB
monochromatic
#460F23 #791A3C #AB2555 #D43971 #DF6B95
Accessibility & contrast
On white
6.71
#AB2555 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2555 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2555
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2555 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2555 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#6A6552
Tritanopia (blue-blind)
#BA003A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2555; /* rgb */ color: rgb(171, 37, 85); /* oklch */ color: oklch(49.6% 0.172 5.0);
Tailwind
colors: {
custom: {
50: '#ca6d84',
500: '#ab2555',
950: '#000000',
},
}SCSS
$custom: #ab2555; $custom-light: #ca6d84; $custom-dark: #000000;
JSON
{
"hex": "#ab2555",
"rgb": {
"r": 171,
"g": 37,
"b": 85
},
"hsl": {
"h": 338.507,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49618,
"c": 0.17173,
"h": 5
},
"luminance": 0.10637
}Semantic roles & 50–950 ramp
primary
#AB2555
secondary
#67C5A3
accent
#E7AC40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C