#AC2F86#AC2F86

#AC2F86 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.184 H 342.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AC2F86
RGBrgb(172, 47, 134)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 73%, 67%)
CMYKcmyk(0%, 72.7%, 22.1%, 32.5%)
CIE-LABlab(42.04, 58.36, -20.39)
CIE-LCHlch(42.04, 61.82, 340.74°)
OKLaboklab(52.47% 0.1755 -0.0546)
OKLCHoklch(52.47% 0.184 342.7)
XYZxyz(22.3336, 12.5272, 23.7914)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F86 #2FAC55
analogous
#932FAC #AC2F86 #AC2F47
triadic
#AC2F86 #86AC2F #2F86AC
tetradic
#AC2F86 #AC932F #2FAC55 #2F47AC
square
#AC2F86 #AC932F #2FAC55 #2F47AC
split-complementary
#AC2F86 #47AC2F #2FAC93
monochromatic
#4C153B #7C2261 #AC2F86 #CE4BA6 #DB7BBE

Accessibility & contrast

On white

5.99
#AC2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F86
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F86#FFFFFF#000000##FFFFFF
##AC2F861.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#B73056
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2f86;
/* rgb */ color: rgb(172, 47, 134);
/* oklch */ color: oklch(52.5% 0.184 342.7);
Tailwind
colors: {
  custom: {
    50: '#c973a9',
    500: '#ac2f86',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f86;
$custom-light: #c973a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f86",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 318.24,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.18376,
    "h": 342.7
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#AC2F86
secondary
#74C38C
accent
#E07647
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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