#AC2C8F#AC2C8F

#AC2C8F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.193 H 338.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC2C8F
RGBrgb(172, 44, 143)
HSLhsl(314, 59%, 42%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 74.4%, 16.9%, 32.5%)
CIE-LABlab(42.09, 60.62, -25.81)
CIE-LCHlch(42.09, 65.88, 336.94°)
OKLaboklab(52.63% 0.1799 -0.0699)
OKLCHoklch(52.63% 0.193 338.8)
XYZxyz(22.8724, 12.5574, 27.2005)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C8F #2CAC49
analogous
#892CAC #AC2C8F #AC2C4F
triadic
#AC2C8F #8FAC2C #2C8FAC
tetradic
#AC2C8F #AC892C #2CAC49 #2C4FAC
square
#AC2C8F #AC892C #2CAC49 #2C4FAC
split-complementary
#AC2C8F #4FAC2C #2CAC89
monochromatic
#4B133E #7B2066 #AC2C8F #D046B0 #DC76C5

Accessibility & contrast

On white

5.98
#AC2C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC2C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C8F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C8F#FFFFFF#000000##FFFFFF
##AC2C8F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335792
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#B6325A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2c8f;
/* rgb */ color: rgb(172, 44, 143);
/* oklch */ color: oklch(52.6% 0.193 338.8);
Tailwind
colors: {
  custom: {
    50: '#c972b0',
    500: '#ac2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c8f;
$custom-light: #c972b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c8f",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 313.594,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.19302,
    "h": 338.8
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#AC2C8F
secondary
#70C483
accent
#E26945
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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