#AC1F54#AC1F54
#AC1F54 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.178 H 4.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AC1F54 |
|---|---|
| RGB | rgb(172, 31, 84) |
| HSL | hsl(337, 69%, 40%) |
| HSV | hsv(337, 82%, 67%) |
| CMYK | cmyk(0%, 82%, 51.2%, 32.5%) |
| CIE-LAB | lab(38.54, 57.81, 5.68) |
| CIE-LCH | lch(38.54, 58.09, 5.62°) |
| OKLab | oklab(49.33% 0.177 0.015) |
| OKLCH | oklch(49.33% 0.178 4.8) |
| XYZ | xyz(19.1052, 10.3934, 9.3859) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.49
Raspberry (survey)
#B00149
ΔE00 2.95
Violet Red
#A50055
ΔE00 3.89
Berry
#990F4B
ΔE00 4.62
Purple Red
#990147
ΔE00 5.12
Light Burgundy
#A8415B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC1F54 #1FAC77
analogous
#AC1F9A #AC1F54 #AC311F
triadic
#AC1F54 #54AC1F #1F54AC
tetradic
#AC1F54 #9AAC1F #1FAC77 #311FAC
square
#AC1F54 #9AAC1F #1FAC77 #311FAC
split-complementary
#AC1F54 #1FAC31 #1F9AAC
monochromatic
#440C21 #78163B #AC1F54 #D92F6F #E36393
Accessibility & contrast
On white
6.82
#AC1F54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AC1F54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC1F54
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC1F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC1F54 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454955
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac1f54; /* rgb */ color: rgb(172, 31, 84); /* oklch */ color: oklch(49.3% 0.178 4.8);
Tailwind
colors: {
custom: {
50: '#cb6b83',
500: '#ac1f54',
950: '#000000',
},
}SCSS
$custom: #ac1f54; $custom-light: #cb6b83; $custom-dark: #000000;
JSON
{
"hex": "#ac1f54",
"rgb": {
"r": 172,
"g": 31,
"b": 84
},
"hsl": {
"h": 337.447,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.4933,
"c": 0.1776,
"h": 4.8
},
"luminance": 0.10391
}Semantic roles & 50–950 ramp
primary
#AC1F54
secondary
#5FC8A0
accent
#ECAA3C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080A
muted
#837A7C