#AC2D91#AC2D91

#AC2D91 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.193 H 338.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC2D91
RGBrgb(172, 45, 145)
HSLhsl(313, 59%, 43%)
HSVhsv(313, 74%, 67%)
CMYKcmyk(0%, 73.8%, 15.7%, 32.5%)
CIE-LABlab(42.30, 60.58, -26.70)
CIE-LCHlch(42.30, 66.20, 336.22°)
OKLaboklab(52.82% 0.1792 -0.0724)
OKLCHoklch(52.82% 0.193 338)
XYZxyz(23.0630, 12.6939, 28.0181)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D91 #2DAC48
analogous
#872DAC #AC2D91 #AC2D51
triadic
#AC2D91 #91AC2D #2D91AC
tetradic
#AC2D91 #AC872D #2DAC48 #2D51AC
square
#AC2D91 #AC872D #2DAC48 #2D51AC
split-complementary
#AC2D91 #51AC2D #2DAC87
monochromatic
#4B143F #7B2068 #AC2D91 #CF47B2 #DC78C6

Accessibility & contrast

On white

5.93
#AC2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D91
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D91#FFFFFF#000000##FFFFFF
##AC2D911.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#B6345C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2d91;
/* rgb */ color: rgb(172, 45, 145);
/* oklch */ color: oklch(52.8% 0.193 338.0);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ac2d91',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d91;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d91",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 312.756,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.19326,
    "h": 338
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#AC2D91
secondary
#71C483
accent
#E26746
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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