#AC2E7E#AC2E7E
#AC2E7E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.180 H 346.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2E7E |
|---|---|
| RGB | rgb(172, 46, 126) |
| HSL | hsl(322, 58%, 43%) |
| HSV | hsv(322, 73%, 67%) |
| CMYK | cmyk(0%, 73.3%, 26.7%, 32.5%) |
| CIE-LAB | lab(41.58, 57.65, -16.18) |
| CIE-LCH | lch(41.58, 59.88, 344.32°) |
| OKLab | oklab(52.03% 0.1749 -0.0428) |
| OKLCH | oklch(52.03% 0.18 346.2) |
| XYZ | xyz(21.7571, 12.2334, 20.9501) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.56
Mediumvioletred
#C71585
ΔE00 4.66
Red Violet
#9E0168
ΔE00 6.26
Warm Purple
#952E8F
ΔE00 7.47
Deep Magenta
#A0025C
ΔE00 7.68
Ugly Purple
#A442A0
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2E7E #2EAC5C
analogous
#9B2EAC #AC2E7E #AC2E3F
triadic
#AC2E7E #7EAC2E #2E7EAC
tetradic
#AC2E7E #AC9B2E #2EAC5C #2E3FAC
square
#AC2E7E #AC9B2E #2EAC5C #2E3FAC
split-complementary
#AC2E7E #3FAC2E #2EAC9B
monochromatic
#4B1437 #7C215B #AC2E7E #CE499E #DB79B7
Accessibility & contrast
On white
6.09
#AC2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#AC2E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2E7E
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2E7E | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B82B52
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ac2e7e; /* rgb */ color: rgb(172, 46, 126); /* oklch */ color: oklch(52.0% 0.180 346.2);
Tailwind
colors: {
custom: {
50: '#c972a3',
500: '#ac2e7e',
950: '#000000',
},
}SCSS
$custom: #ac2e7e; $custom-light: #c972a3; $custom-dark: #000000;
JSON
{
"hex": "#ac2e7e",
"rgb": {
"r": 172,
"g": 46,
"b": 126
},
"hsl": {
"h": 321.905,
"s": 57.798,
"l": 42.745
},
"oklch": {
"l": 0.52025,
"c": 0.18009,
"h": 346.2
},
"luminance": 0.12231
}Semantic roles & 50–950 ramp
primary
#AC2E7E
secondary
#72C390
accent
#E17F47
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F