#AC2A91#AC2A91

#AC2A91 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.197 H 337.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AC2A91
RGBrgb(172, 42, 145)
HSLhsl(312, 61%, 42%)
HSVhsv(312, 76%, 67%)
CMYKcmyk(0%, 75.6%, 15.7%, 32.5%)
CIE-LABlab(41.96, 61.54, -27.23)
CIE-LCHlch(41.96, 67.30, 336.14°)
OKLaboklab(52.57% 0.1821 -0.0739)
OKLCHoklch(52.57% 0.197 337.9)
XYZxyz(22.9526, 12.4731, 27.9813)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A91 #2AAC45
analogous
#862AAC #AC2A91 #AC2A50
triadic
#AC2A91 #91AC2A #2A91AC
tetradic
#AC2A91 #AC862A #2AAC45 #2A50AC
square
#AC2A91 #AC862A #2AAC45 #2A50AC
split-complementary
#AC2A91 #50AC2A #2AAC86
monochromatic
#4A123E #7B1E68 #AC2A91 #D142B3 #DD73C7

Accessibility & contrast

On white

6.01
#AC2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A91
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A91#FFFFFF#000000##FFFFFF
##AC2A911.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B6315B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2a91;
/* rgb */ color: rgb(172, 42, 145);
/* oklch */ color: oklch(52.6% 0.197 337.9);
Tailwind
colors: {
  custom: {
    50: '#c971b1',
    500: '#ac2a91',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a91;
$custom-light: #c971b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a91",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 312.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.19652,
    "h": 337.9
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#AC2A91
secondary
#6DC480
accent
#E46544
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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