#AC2C8B#AC2C8B

#AC2C8B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.190 H 340.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AC2C8B
RGBrgb(172, 44, 139)
HSLhsl(315, 59%, 42%)
HSVhsv(315, 74%, 67%)
CMYKcmyk(0%, 74.4%, 19.2%, 32.5%)
CIE-LABlab(41.90, 60.06, -23.66)
CIE-LCHlch(41.90, 64.55, 338.50°)
OKLaboklab(52.44% 0.1794 -0.0638)
OKLCHoklch(52.44% 0.19 340.4)
XYZxyz(22.5748, 12.4383, 25.6330)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C8B #2CAC4D
analogous
#8D2CAC #AC2C8B #AC2C4B
triadic
#AC2C8B #8BAC2C #2C8BAC
tetradic
#AC2C8B #AC8D2C #2CAC4D #2C4BAC
square
#AC2C8B #AC8D2C #2CAC4D #2C4BAC
split-complementary
#AC2C8B #4BAC2C #2CAC8D
monochromatic
#4B133C #7B2064 #AC2C8B #D046AC #DC76C2

Accessibility & contrast

On white

6.02
#AC2C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC2C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C8B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C8B#FFFFFF#000000##FFFFFF
##AC2C8B1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#B63058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2c8b;
/* rgb */ color: rgb(172, 44, 139);
/* oklch */ color: oklch(52.4% 0.190 340.4);
Tailwind
colors: {
  custom: {
    50: '#c972ad',
    500: '#ac2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c8b;
$custom-light: #c972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c8b",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 315.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.19037,
    "h": 340.4
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#AC2C8B
secondary
#70C486
accent
#E26E45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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