#AB2258#AB2258
#AB2258 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.175 H 3.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2258 |
|---|---|
| RGB | rgb(171, 34, 88) |
| HSL | hsl(336, 67%, 40%) |
| HSV | hsv(336, 80%, 67%) |
| CMYK | cmyk(0%, 80.1%, 48.5%, 32.9%) |
| CIE-LAB | lab(38.74, 57.06, 3.40) |
| CIE-LCH | lch(38.74, 57.16, 3.40°) |
| OKLab | oklab(49.48% 0.175 0.0093) |
| OKLCH | oklch(49.48% 0.175 3) |
| XYZ | xyz(19.1297, 10.5092, 10.2518) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.54
Raspberry (survey)
#B00149
ΔE00 4.02
Berry
#990F4B
ΔE00 4.64
Purple Red
#990147
ΔE00 5.32
Dark Fuchsia
#9D0759
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2258 #22AB75
analogous
#AB229D #AB2258 #AB3022
triadic
#AB2258 #58AB22 #2258AB
tetradic
#AB2258 #9DAB22 #22AB75 #3022AB
square
#AB2258 #9DAB22 #22AB75 #3022AB
split-complementary
#AB2258 #22AB30 #229DAB
monochromatic
#450E23 #78183E #AB2258 #D73474 #E16797
Accessibility & contrast
On white
6.77
#AB2258 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2258 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2258
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2258 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2258 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A59
Deuteranopia (green-blind)
#696555
Tritanopia (blue-blind)
#BA003A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2258; /* rgb */ color: rgb(171, 34, 88); /* oklch */ color: oklch(49.5% 0.175 3.0);
Tailwind
colors: {
custom: {
50: '#ca6c86',
500: '#ab2258',
950: '#000000',
},
}SCSS
$custom: #ab2258; $custom-light: #ca6c86; $custom-dark: #000000;
JSON
{
"hex": "#ab2258",
"rgb": {
"r": 171,
"g": 34,
"b": 88
},
"hsl": {
"h": 336.35,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.49479,
"c": 0.17526,
"h": 3
},
"luminance": 0.10507
}Semantic roles & 50–950 ramp
primary
#AB2258
secondary
#63C69F
accent
#EAA63E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C