#AB2852#AB2852
#AB2852 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.168 H 7.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2852 |
|---|---|
| RGB | rgb(171, 40, 82) |
| HSL | hsl(341, 62%, 41%) |
| HSV | hsv(341, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 52%, 32.9%) |
| CIE-LAB | lab(39.22, 54.74, 7.90) |
| CIE-LCH | lch(39.22, 55.30, 8.21°) |
| OKLab | oklab(49.78% 0.1669 0.0204) |
| OKLCH | oklch(49.78% 0.168 7) |
| XYZ | xyz(19.0781, 10.7874, 9.0586) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.69
Raspberry (survey)
#B00149
ΔE00 3.00
Light Burgundy
#A8415B
ΔE00 4.31
Violet Red
#A50055
ΔE00 5.37
Berry
#990F4B
ΔE00 5.54
Purple Red
#990147
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2852 #28AB81
analogous
#AB2894 #AB2852 #AB4028
triadic
#AB2852 #52AB28 #2852AB
tetradic
#AB2852 #94AB28 #28AB81 #4028AB
square
#AB2852 #94AB28 #28AB81 #4028AB
split-complementary
#AB2852 #28AB40 #2894AB
monochromatic
#481122 #791C3A #AB2852 #D23E6E #DE7093
Accessibility & contrast
On white
6.65
#AB2852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2852
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2852 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C53
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#BB013A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2852; /* rgb */ color: rgb(171, 40, 82); /* oklch */ color: oklch(49.8% 0.168 7.0);
Tailwind
colors: {
custom: {
50: '#ca6e82',
500: '#ab2852',
950: '#000000',
},
}SCSS
$custom: #ab2852; $custom-light: #ca6e82; $custom-dark: #000000;
JSON
{
"hex": "#ab2852",
"rgb": {
"r": 171,
"g": 40,
"b": 82
},
"hsl": {
"h": 340.763,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.49778,
"c": 0.16819,
"h": 7
},
"luminance": 0.10785
}Semantic roles & 50–950 ramp
primary
#AB2852
secondary
#6AC4A8
accent
#E5B143
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C