#AC2E91#AC2E91

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

Color values

HEX#AC2E91
RGBrgb(172, 46, 145)
HSLhsl(313, 58%, 43%)
HSVhsv(313, 73%, 67%)
CMYKcmyk(0%, 73.3%, 15.7%, 32.5%)
CIE-LABlab(42.42, 60.24, -26.51)
CIE-LCHlch(42.42, 65.82, 336.25°)
OKLaboklab(52.9% 0.1782 -0.0719)
OKLCHoklch(52.9% 0.192 338)
XYZxyz(23.1016, 12.7711, 28.0310)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E91 #2EAC49
analogous
#882EAC #AC2E91 #AC2E52
triadic
#AC2E91 #91AC2E #2E91AC
tetradic
#AC2E91 #AC882E #2EAC49 #2E52AC
square
#AC2E91 #AC882E #2EAC49 #2E52AC
split-complementary
#AC2E91 #52AC2E #2EAC88
monochromatic
#4B1440 #7C2168 #AC2E91 #CE49B2 #DB79C6

Accessibility & contrast

On white

5.91
#AC2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E91
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E91#FFFFFF#000000##FFFFFF
##AC2E911.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2e91;
/* rgb */ color: rgb(172, 46, 145);
/* oklch */ color: oklch(52.9% 0.192 338.0);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ac2e91',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e91;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e91",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 312.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.19214,
    "h": 338
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#AC2E91
secondary
#72C384
accent
#E16847
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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