#AC2152#AC2152
#AC2152 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 6.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2152 |
|---|---|
| RGB | rgb(172, 33, 82) |
| HSL | hsl(339, 68%, 40%) |
| HSV | hsv(339, 81%, 67%) |
| CMYK | cmyk(0%, 80.8%, 52.3%, 32.5%) |
| CIE-LAB | lab(38.67, 57.11, 7.15) |
| CIE-LCH | lch(38.67, 57.56, 7.14°) |
| OKLab | oklab(49.41% 0.1745 0.0186) |
| OKLCH | oklch(49.41% 0.175 6.1) |
| XYZ | xyz(19.0819, 10.4703, 8.9972) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.14
Raspberry (survey)
#B00149
ΔE00 2.55
Violet Red
#A50055
ΔE00 4.54
Berry
#990F4B
ΔE00 4.93
Light Burgundy
#A8415B
ΔE00 5.14
Purple Red
#990147
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2152 #21AC7B
analogous
#AC2197 #AC2152 #AC3521
triadic
#AC2152 #52AC21 #2152AC
tetradic
#AC2152 #97AC21 #21AC7B #3521AC
square
#AC2152 #97AC21 #21AC7B #3521AC
split-complementary
#AC2152 #21AC35 #2197AC
monochromatic
#450D21 #79173A #AC2152 #D8326D #E26691
Accessibility & contrast
On white
6.79
#AC2152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AC2152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2152
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2152 | 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)
#464A53
Deuteranopia (green-blind)
#6A654F
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac2152; /* rgb */ color: rgb(172, 33, 82); /* oklch */ color: oklch(49.4% 0.175 6.1);
Tailwind
colors: {
custom: {
50: '#cb6c82',
500: '#ac2152',
950: '#000000',
},
}SCSS
$custom: #ac2152; $custom-light: #cb6c82; $custom-dark: #000000;
JSON
{
"hex": "#ac2152",
"rgb": {
"r": 172,
"g": 33,
"b": 82
},
"hsl": {
"h": 338.849,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.49411,
"c": 0.17549,
"h": 6.1
},
"luminance": 0.10468
}Semantic roles & 50–950 ramp
primary
#AC2152
secondary
#62C7A3
accent
#EBAD3D
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C