#AC2C7E#AC2C7E

#AC2C7E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.182 H 346.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC2C7E
RGBrgb(172, 44, 126)
HSLhsl(322, 59%, 42%)
HSVhsv(322, 74%, 67%)
CMYKcmyk(0%, 74.4%, 26.7%, 32.5%)
CIE-LABlab(41.34, 58.33, -16.55)
CIE-LCHlch(41.34, 60.63, 344.16°)
OKLaboklab(51.85% 0.177 -0.0439)
OKLCHoklch(51.85% 0.182 346.1)
XYZxyz(21.6808, 12.0807, 20.9247)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C7E #2CAC5A
analogous
#9A2CAC #AC2C7E #AC2C3E
triadic
#AC2C7E #7EAC2C #2C7EAC
tetradic
#AC2C7E #AC9A2C #2CAC5A #2C3EAC
square
#AC2C7E #AC9A2C #2CAC5A #2C3EAC
split-complementary
#AC2C7E #3EAC2C #2CAC9A
monochromatic
#4B1337 #7B205A #AC2C7E #D0469E #DC76B7

Accessibility & contrast

On white

6.15
#AC2C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC2C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C7E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C7E#FFFFFF#000000##FFFFFF
##AC2C7E1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B82951
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2c7e;
/* rgb */ color: rgb(172, 44, 126);
/* oklch */ color: oklch(51.8% 0.182 346.1);
Tailwind
colors: {
  custom: {
    50: '#c971a3',
    500: '#ac2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c7e;
$custom-light: #c971a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c7e",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 321.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.18237,
    "h": 346.1
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#AC2C7E
secondary
#70C48E
accent
#E27E45
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2C7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AC2C7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva