#AB2259#AB2259
#AB2259 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 2.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2259 |
|---|---|
| RGB | rgb(171, 34, 89) |
| HSL | hsl(336, 67%, 40%) |
| HSV | hsv(336, 80%, 67%) |
| CMYK | cmyk(0%, 80.1%, 48%, 32.9%) |
| CIE-LAB | lab(38.77, 57.15, 2.80) |
| CIE-LCH | lch(38.77, 57.22, 2.80°) |
| OKLab | oklab(49.51% 0.1754 0.0078) |
| OKLCH | oklch(49.51% 0.176 2.5) |
| XYZ | xyz(19.1714, 10.5259, 10.4714) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.37
Purplish Red
#B0054B
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 4.27
Berry
#990F4B
ΔE00 4.68
Dark Fuchsia
#9D0759
ΔE00 5.18
Deep Magenta
#A0025C
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2259 #22AB74
analogous
#AB229E #AB2259 #AB2F22
triadic
#AB2259 #59AB22 #2259AB
tetradic
#AB2259 #9EAB22 #22AB74 #2F22AB
square
#AB2259 #9EAB22 #22AB74 #2F22AB
split-complementary
#AB2259 #22AB2F #229EAB
monochromatic
#450E24 #78183E #AB2259 #D73475 #E16798
Accessibility & contrast
On white
6.76
#AB2259 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2259 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2259
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2259 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2259 | 1.00 | 6.76 | 3.10 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A5A
Deuteranopia (green-blind)
#696556
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2259; /* rgb */ color: rgb(171, 34, 89); /* oklch */ color: oklch(49.5% 0.176 2.5);
Tailwind
colors: {
custom: {
50: '#ca6c87',
500: '#ab2259',
950: '#000000',
},
}SCSS
$custom: #ab2259; $custom-light: #ca6c87; $custom-dark: #000000;
JSON
{
"hex": "#ab2259",
"rgb": {
"r": 171,
"g": 34,
"b": 89
},
"hsl": {
"h": 335.912,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.4951,
"c": 0.17553,
"h": 2.5
},
"luminance": 0.10523
}Semantic roles & 50–950 ramp
primary
#AB2259
secondary
#63C69E
accent
#EAA53E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C