#AC2C7F#AC2C7F
#AC2C7F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 345.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2C7F |
|---|---|
| RGB | rgb(172, 44, 127) |
| HSL | hsl(321, 59%, 42%) |
| HSV | hsv(321, 74%, 67%) |
| CMYK | cmyk(0%, 74.4%, 26.2%, 32.5%) |
| CIE-LAB | lab(41.39, 58.46, -17.10) |
| CIE-LCH | lch(41.39, 60.91, 343.69°) |
| OKLab | oklab(51.89% 0.1772 -0.0454) |
| OKLCH | oklch(51.89% 0.183 345.6) |
| XYZ | xyz(21.7456, 12.1067, 21.2662) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.67
Mediumvioletred
#C71585
ΔE00 4.72
Red Violet
#9E0168
ΔE00 6.14
Warm Purple
#952E8F
ΔE00 7.15
Ugly Purple
#A442A0
ΔE00 7.70
Deep Magenta
#A0025C
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2C7F #2CAC59
analogous
#992CAC #AC2C7F #AC2C3F
triadic
#AC2C7F #7FAC2C #2C7FAC
tetradic
#AC2C7F #AC992C #2CAC59 #2C3FAC
square
#AC2C7F #AC992C #2CAC59 #2C3FAC
split-complementary
#AC2C7F #3FAC2C #2CAC99
monochromatic
#4B1337 #7B205B #AC2C7F #D0469F #DC76B8
Accessibility & contrast
On white
6.14
#AC2C7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AC2C7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2C7F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2C7F | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#B82952
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ac2c7f; /* rgb */ color: rgb(172, 44, 127); /* oklch */ color: oklch(51.9% 0.183 345.6);
Tailwind
colors: {
custom: {
50: '#c972a4',
500: '#ac2c7f',
950: '#000000',
},
}SCSS
$custom: #ac2c7f; $custom-light: #c972a4; $custom-dark: #000000;
JSON
{
"hex": "#ac2c7f",
"rgb": {
"r": 172,
"g": 44,
"b": 127
},
"hsl": {
"h": 321.094,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.51893,
"c": 0.18295,
"h": 345.6
},
"luminance": 0.12104
}Semantic roles & 50–950 ramp
primary
#AC2C7F
secondary
#70C48D
accent
#E27D45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F