#AC2F7F#AC2F7F
#AC2F7F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.179 H 345.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2F7F |
|---|---|
| RGB | rgb(172, 47, 127) |
| HSL | hsl(322, 57%, 43%) |
| HSV | hsv(322, 73%, 67%) |
| CMYK | cmyk(0%, 72.7%, 26.2%, 32.5%) |
| CIE-LAB | lab(41.75, 57.43, -16.54) |
| CIE-LCH | lch(41.75, 59.77, 343.93°) |
| OKLab | oklab(52.16% 0.1741 -0.0439) |
| OKLCH | oklch(52.16% 0.18 345.9) |
| XYZ | xyz(21.8615, 12.3383, 21.3048) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.66
Magenta (survey)
#C20078
ΔE00 4.70
Red Violet
#9E0168
ΔE00 6.45
Warm Purple
#952E8F
ΔE00 7.37
Ugly Purple
#A442A0
ΔE00 7.66
Deep Magenta
#A0025C
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2F7F #2FAC5C
analogous
#9A2FAC #AC2F7F #AC2F40
triadic
#AC2F7F #7FAC2F #2F7FAC
tetradic
#AC2F7F #AC9A2F #2FAC5C #2F40AC
square
#AC2F7F #AC9A2F #2FAC5C #2F40AC
split-complementary
#AC2F7F #40AC2F #2FAC9A
monochromatic
#4C1538 #7C225C #AC2F7F #CE4B9E #DB7BB8
Accessibility & contrast
On white
6.06
#AC2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#AC2F7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2F7F
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2F7F | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#B82C53
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ac2f7f; /* rgb */ color: rgb(172, 47, 127); /* oklch */ color: oklch(52.2% 0.179 345.9);
Tailwind
colors: {
custom: {
50: '#c973a4',
500: '#ac2f7f',
950: '#000000',
},
}SCSS
$custom: #ac2f7f; $custom-light: #c973a4; $custom-dark: #000000;
JSON
{
"hex": "#ac2f7f",
"rgb": {
"r": 172,
"g": 47,
"b": 127
},
"hsl": {
"h": 321.6,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.52158,
"c": 0.1795,
"h": 345.9
},
"luminance": 0.12336
}Semantic roles & 50–950 ramp
primary
#AC2F7F
secondary
#74C390
accent
#E07E47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F