#AC2158#AC2158
#AC2158 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 3.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2158 |
|---|---|
| RGB | rgb(172, 33, 88) |
| HSL | hsl(336, 68%, 40%) |
| HSV | hsv(336, 81%, 67%) |
| CMYK | cmyk(0%, 80.8%, 48.8%, 32.5%) |
| CIE-LAB | lab(38.84, 57.61, 3.56) |
| CIE-LCH | lch(38.84, 57.72, 3.54°) |
| OKLab | oklab(49.59% 0.1767 0.0097) |
| OKLCH | oklch(49.59% 0.177 3.1) |
| XYZ | xyz(19.3202, 10.5656, 10.2526) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.44
Violet Red
#A50055
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 3.93
Berry
#990F4B
ΔE00 4.74
Purple Red
#990147
ΔE00 5.40
Dark Fuchsia
#9D0759
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2158 #21AC75
analogous
#AC219D #AC2158 #AC2F21
triadic
#AC2158 #58AC21 #2158AC
tetradic
#AC2158 #9DAC21 #21AC75 #2F21AC
square
#AC2158 #9DAC21 #21AC75 #2F21AC
split-complementary
#AC2158 #21AC2F #219DAC
monochromatic
#450D23 #79173E #AC2158 #D83274 #E26697
Accessibility & contrast
On white
6.75
#AC2158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AC2158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2158
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2158 | 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)
#454A59
Deuteranopia (green-blind)
#696555
Tritanopia (blue-blind)
#BB003A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac2158; /* rgb */ color: rgb(172, 33, 88); /* oklch */ color: oklch(49.6% 0.177 3.1);
Tailwind
colors: {
custom: {
50: '#cb6c86',
500: '#ac2158',
950: '#000000',
},
}SCSS
$custom: #ac2158; $custom-light: #cb6c86; $custom-dark: #000000;
JSON
{
"hex": "#ac2158",
"rgb": {
"r": 172,
"g": 33,
"b": 88
},
"hsl": {
"h": 336.259,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.49586,
"c": 0.17696,
"h": 3.1
},
"luminance": 0.10563
}Semantic roles & 50–950 ramp
primary
#AC2158
secondary
#62C79F
accent
#EBA63D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C