#AC2F91#AC2F91

#AC2F91 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.191 H 338.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC2F91
RGBrgb(172, 47, 145)
HSLhsl(313, 57%, 43%)
HSVhsv(313, 73%, 67%)
CMYKcmyk(0%, 72.7%, 15.7%, 32.5%)
CIE-LABlab(42.54, 59.90, -26.32)
CIE-LCHlch(42.54, 65.43, 336.28°)
OKLaboklab(52.99% 0.1772 -0.0714)
OKLCHoklch(52.99% 0.191 338)
XYZxyz(23.1411, 12.8502, 28.0442)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F91 #2FAC4A
analogous
#882FAC #AC2F91 #AC2F52
triadic
#AC2F91 #91AC2F #2F91AC
tetradic
#AC2F91 #AC882F #2FAC4A #2F52AC
square
#AC2F91 #AC882F #2FAC4A #2F52AC
split-complementary
#AC2F91 #52AC2F #2FAC88
monochromatic
#4C1540 #7C2268 #AC2F91 #CE4BB1 #DB7BC6

Accessibility & contrast

On white

5.88
#AC2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F91
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F91#FFFFFF#000000##FFFFFF
##AC2F911.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#B6355C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2f91;
/* rgb */ color: rgb(172, 47, 145);
/* oklch */ color: oklch(53.0% 0.191 338.0);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ac2f91',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f91;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f91",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 312.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.191,
    "h": 338
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#AC2F91
secondary
#74C385
accent
#E06847
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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