#AB2256#AB2256
#AB2256 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 4.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2256 |
|---|---|
| RGB | rgb(171, 34, 86) |
| HSL | hsl(337, 67%, 40%) |
| HSV | hsv(337, 80%, 67%) |
| CMYK | cmyk(0%, 80.1%, 49.7%, 32.9%) |
| CIE-LAB | lab(38.68, 56.89, 4.59) |
| CIE-LCH | lch(38.68, 57.08, 4.61°) |
| OKLab | oklab(49.42% 0.1743 0.0123) |
| OKLCH | oklch(49.42% 0.175 4) |
| XYZ | xyz(19.0480, 10.4765, 9.8214) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.06
Raspberry (survey)
#B00149
ΔE00 3.53
Violet Red
#A50055
ΔE00 3.74
Berry
#990F4B
ΔE00 4.63
Purple Red
#990147
ΔE00 5.23
Light Burgundy
#A8415B
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2256 #22AB77
analogous
#AB229B #AB2256 #AB3222
triadic
#AB2256 #56AB22 #2256AB
tetradic
#AB2256 #9BAB22 #22AB77 #3222AB
square
#AB2256 #9BAB22 #22AB77 #3222AB
split-complementary
#AB2256 #22AB32 #229BAB
monochromatic
#450E23 #78183C #AB2256 #D73471 #E16795
Accessibility & contrast
On white
6.79
#AB2256 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2256 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2256
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2256 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A57
Deuteranopia (green-blind)
#696553
Tritanopia (blue-blind)
#BA0039
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2256; /* rgb */ color: rgb(171, 34, 86); /* oklch */ color: oklch(49.4% 0.175 4.0);
Tailwind
colors: {
custom: {
50: '#ca6c85',
500: '#ab2256',
950: '#000000',
},
}SCSS
$custom: #ab2256; $custom-light: #ca6c85; $custom-dark: #000000;
JSON
{
"hex": "#ab2256",
"rgb": {
"r": 171,
"g": 34,
"b": 86
},
"hsl": {
"h": 337.226,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.49419,
"c": 0.17472,
"h": 4
},
"luminance": 0.10474
}Semantic roles & 50–950 ramp
primary
#AB2256
secondary
#63C6A0
accent
#EAA93E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C