#AC1E52#AC1E52
#AC1E52 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 5.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AC1E52 |
|---|---|
| RGB | rgb(172, 30, 82) |
| HSL | hsl(338, 70%, 40%) |
| HSV | hsv(338, 83%, 67%) |
| CMYK | cmyk(0%, 82.6%, 52.3%, 32.5%) |
| CIE-LAB | lab(38.40, 57.90, 6.76) |
| CIE-LCH | lch(38.40, 58.30, 6.66°) |
| OKLab | oklab(49.21% 0.1771 0.0176) |
| OKLCH | oklch(49.21% 0.178 5.7) |
| XYZ | xyz(19.0023, 10.3111, 8.9707) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.04
Raspberry (survey)
#B00149
ΔE00 2.49
Violet Red
#A50055
ΔE00 4.17
Berry
#990F4B
ΔE00 4.66
Purple Red
#990147
ΔE00 5.07
Light Burgundy
#A8415B
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC1E52 #1EAC78
analogous
#AC1E99 #AC1E52 #AC311E
triadic
#AC1E52 #52AC1E #1E52AC
tetradic
#AC1E52 #99AC1E #1EAC78 #311EAC
square
#AC1E52 #99AC1E #1EAC78 #311EAC
split-complementary
#AC1E52 #1EAC31 #1E99AC
monochromatic
#440C20 #781539 #AC1E52 #DA2D6C #E36191
Accessibility & contrast
On white
6.86
#AC1E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#AC1E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC1E52
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC1E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC1E52 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#6A644F
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #ac1e52; /* rgb */ color: rgb(172, 30, 82); /* oklch */ color: oklch(49.2% 0.178 5.7);
Tailwind
colors: {
custom: {
50: '#cb6b82',
500: '#ac1e52',
950: '#000000',
},
}SCSS
$custom: #ac1e52; $custom-light: #cb6b82; $custom-dark: #000000;
JSON
{
"hex": "#ac1e52",
"rgb": {
"r": 172,
"g": 30,
"b": 82
},
"hsl": {
"h": 338.028,
"s": 70.297,
"l": 39.608
},
"oklch": {
"l": 0.49206,
"c": 0.17793,
"h": 5.7
},
"luminance": 0.10308
}Semantic roles & 50–950 ramp
primary
#AC1E52
secondary
#5EC8A1
accent
#EDAC3B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C