#AC1F52#AC1F52
#AC1F52 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 5.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AC1F52 |
|---|---|
| RGB | rgb(172, 31, 82) |
| HSL | hsl(338, 69%, 40%) |
| HSV | hsv(338, 82%, 67%) |
| CMYK | cmyk(0%, 82%, 52.3%, 32.5%) |
| CIE-LAB | lab(38.49, 57.65, 6.89) |
| CIE-LCH | lch(38.49, 58.06, 6.81°) |
| OKLab | oklab(49.27% 0.1762 0.0179) |
| OKLCH | oklch(49.27% 0.177 5.8) |
| XYZ | xyz(19.0280, 10.3626, 8.9792) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.07
Raspberry (survey)
#B00149
ΔE00 2.50
Violet Red
#A50055
ΔE00 4.29
Berry
#990F4B
ΔE00 4.74
Purple Red
#990147
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC1F52 #1FAC79
analogous
#AC1F98 #AC1F52 #AC331F
triadic
#AC1F52 #52AC1F #1F52AC
tetradic
#AC1F52 #98AC1F #1FAC79 #331FAC
square
#AC1F52 #98AC1F #1FAC79 #331FAC
split-complementary
#AC1F52 #1FAC33 #1F98AC
monochromatic
#440C21 #781639 #AC1F52 #D92F6C #E36391
Accessibility & contrast
On white
6.84
#AC1F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AC1F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC1F52
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC1F52 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#6A644F
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac1f52; /* rgb */ color: rgb(172, 31, 82); /* oklch */ color: oklch(49.3% 0.177 5.8);
Tailwind
colors: {
custom: {
50: '#cb6b82',
500: '#ac1f52',
950: '#000000',
},
}SCSS
$custom: #ac1f52; $custom-light: #cb6b82; $custom-dark: #000000;
JSON
{
"hex": "#ac1f52",
"rgb": {
"r": 172,
"g": 31,
"b": 82
},
"hsl": {
"h": 338.298,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.49273,
"c": 0.17714,
"h": 5.8
},
"luminance": 0.1036
}Semantic roles & 50–950 ramp
primary
#AC1F52
secondary
#5FC8A2
accent
#ECAC3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C