#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
RGBrgb(172, 44, 127)
HSLhsl(321, 59%, 42%)
HSVhsv(321, 74%, 67%)
CMYKcmyk(0%, 74.4%, 26.2%, 32.5%)
CIE-LABlab(41.39, 58.46, -17.10)
CIE-LCHlch(41.39, 60.91, 343.69°)
OKLaboklab(51.89% 0.1772 -0.0454)
OKLCHoklch(51.89% 0.183 345.6)
XYZxyz(21.7456, 12.1067, 21.2662)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##AC2C7F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.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

Preview Lab

Preview with #AC2C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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