#AC1F57#AC1F57
#AC1F57 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.178 H 3.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AC1F57 |
|---|---|
| RGB | rgb(172, 31, 87) |
| HSL | hsl(336, 69%, 40%) |
| HSV | hsv(336, 82%, 67%) |
| CMYK | cmyk(0%, 82%, 49.4%, 32.5%) |
| CIE-LAB | lab(38.62, 58.06, 3.89) |
| CIE-LCH | lch(38.62, 58.19, 3.83°) |
| OKLab | oklab(49.42% 0.1781 0.0105) |
| OKLCH | oklch(49.42% 0.178 3.4) |
| XYZ | xyz(19.2252, 10.4415, 10.0180) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.21
Violet Red
#A50055
ΔE00 3.41
Raspberry (survey)
#B00149
ΔE00 3.70
Berry
#990F4B
ΔE00 4.58
Purple Red
#990147
ΔE00 5.20
Dark Fuchsia
#9D0759
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC1F57 #1FAC74
analogous
#AC1F9E #AC1F57 #AC2D1F
triadic
#AC1F57 #57AC1F #1F57AC
tetradic
#AC1F57 #9EAC1F #1FAC74 #2D1FAC
square
#AC1F57 #9EAC1F #1FAC74 #2D1FAC
split-complementary
#AC1F57 #1FAC2D #1F9EAC
monochromatic
#440C23 #78163D #AC1F57 #D92F73 #E36396
Accessibility & contrast
On white
6.80
#AC1F57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AC1F57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC1F57
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC1F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC1F57 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444958
Deuteranopia (green-blind)
#696554
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac1f57; /* rgb */ color: rgb(172, 31, 87); /* oklch */ color: oklch(49.4% 0.178 3.4);
Tailwind
colors: {
custom: {
50: '#cb6b86',
500: '#ac1f57',
950: '#000000',
},
}SCSS
$custom: #ac1f57; $custom-light: #cb6b86; $custom-dark: #000000;
JSON
{
"hex": "#ac1f57",
"rgb": {
"r": 172,
"g": 31,
"b": 87
},
"hsl": {
"h": 336.17,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.49419,
"c": 0.17837,
"h": 3.4
},
"luminance": 0.10439
}Semantic roles & 50–950 ramp
primary
#AC1F57
secondary
#5FC89E
accent
#ECA63C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C