#AB2652#AB2652
#AB2652 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.170 H 6.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2652 |
|---|---|
| RGB | rgb(171, 38, 82) |
| HSL | hsl(340, 64%, 41%) |
| HSV | hsv(340, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 52%, 32.9%) |
| CIE-LAB | lab(38.99, 55.37, 7.58) |
| CIE-LCH | lch(38.99, 55.89, 7.79°) |
| OKLab | oklab(49.61% 0.169 0.0197) |
| OKLCH | oklch(49.61% 0.17 6.6) |
| XYZ | xyz(19.0124, 10.6560, 9.0367) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.50
Raspberry (survey)
#B00149
ΔE00 2.85
Light Burgundy
#A8415B
ΔE00 4.58
Violet Red
#A50055
ΔE00 5.06
Berry
#990F4B
ΔE00 5.28
Purple Red
#990147
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2652 #26AB7F
analogous
#AB2694 #AB2652 #AB3C26
triadic
#AB2652 #52AB26 #2652AB
tetradic
#AB2652 #94AB26 #26AB7F #3C26AB
square
#AB2652 #94AB26 #26AB7F #3C26AB
split-complementary
#AB2652 #26AB3C #2694AB
monochromatic
#471022 #791B3A #AB2652 #D33B6D #DF6D92
Accessibility & contrast
On white
6.71
#AB2652 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2652 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2652
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2652 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2652 | 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)
#484B53
Deuteranopia (green-blind)
#6B654F
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2652; /* rgb */ color: rgb(171, 38, 82); /* oklch */ color: oklch(49.6% 0.170 6.6);
Tailwind
colors: {
custom: {
50: '#ca6e82',
500: '#ab2652',
950: '#000000',
},
}SCSS
$custom: #ab2652; $custom-light: #ca6e82; $custom-dark: #000000;
JSON
{
"hex": "#ab2652",
"rgb": {
"r": 171,
"g": 38,
"b": 82
},
"hsl": {
"h": 340.15,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49612,
"c": 0.17012,
"h": 6.6
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#AB2652
secondary
#68C5A6
accent
#E7B041
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C