#AC2157#AC2157
#AC2157 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.177 H 3.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2157 |
|---|---|
| RGB | rgb(172, 33, 87) |
| HSL | hsl(337, 68%, 40%) |
| HSV | hsv(337, 81%, 67%) |
| CMYK | cmyk(0%, 80.8%, 49.4%, 32.5%) |
| CIE-LAB | lab(38.81, 57.53, 4.16) |
| CIE-LCH | lch(38.81, 57.68, 4.13°) |
| OKLab | oklab(49.56% 0.1763 0.0112) |
| OKLCH | oklch(49.56% 0.177 3.6) |
| XYZ | xyz(19.2791, 10.5492, 10.0360) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.20
Violet Red
#A50055
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 3.68
Berry
#990F4B
ΔE00 4.73
Purple Red
#990147
ΔE00 5.35
Light Burgundy
#A8415B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2157 #21AC76
analogous
#AC219C #AC2157 #AC3121
triadic
#AC2157 #57AC21 #2157AC
tetradic
#AC2157 #9CAC21 #21AC76 #3121AC
square
#AC2157 #9CAC21 #21AC76 #3121AC
split-complementary
#AC2157 #21AC31 #219CAC
monochromatic
#450D23 #79173D #AC2157 #D83273 #E26696
Accessibility & contrast
On white
6.75
#AC2157 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AC2157 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2157
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2157 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#6A6554
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac2157; /* rgb */ color: rgb(172, 33, 87); /* oklch */ color: oklch(49.6% 0.177 3.6);
Tailwind
colors: {
custom: {
50: '#cb6c86',
500: '#ac2157',
950: '#000000',
},
}SCSS
$custom: #ac2157; $custom-light: #cb6c86; $custom-dark: #000000;
JSON
{
"hex": "#ac2157",
"rgb": {
"r": 172,
"g": 33,
"b": 87
},
"hsl": {
"h": 336.691,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.49556,
"c": 0.17668,
"h": 3.6
},
"luminance": 0.10546
}Semantic roles & 50–950 ramp
primary
#AC2157
secondary
#62C7A0
accent
#EBA73D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C