#AC2D94#AC2D94

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

Color values

HEX#AC2D94
RGBrgb(172, 45, 148)
HSLhsl(311, 59%, 43%)
HSVhsv(311, 74%, 67%)
CMYKcmyk(0%, 73.8%, 14%, 32.5%)
CIE-LABlab(42.44, 61.01, -28.29)
CIE-LCHlch(42.44, 67.25, 335.12°)
OKLaboklab(52.97% 0.1795 -0.077)
OKLCHoklch(52.97% 0.195 336.8)
XYZxyz(23.2974, 12.7877, 29.2525)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D94 #2DAC45
analogous
#852DAC #AC2D94 #AC2D54
triadic
#AC2D94 #94AC2D #2D94AC
tetradic
#AC2D94 #AC852D #2DAC45 #2D54AC
square
#AC2D94 #AC852D #2DAC45 #2D54AC
split-complementary
#AC2D94 #54AC2D #2DAC85
monochromatic
#4B1441 #7B206A #AC2D94 #CF47B5 #DC78C9

Accessibility & contrast

On white

5.90
#AC2D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC2D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D94
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D94#FFFFFF#000000##FFFFFF
##AC2D941.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305897
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#B5355D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2d94;
/* rgb */ color: rgb(172, 45, 148);
/* oklch */ color: oklch(53.0% 0.195 336.8);
Tailwind
colors: {
  custom: {
    50: '#c873b3',
    500: '#ac2d94',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d94;
$custom-light: #c873b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d94",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 311.339,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.19533,
    "h": 336.8
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#AC2D94
secondary
#71C481
accent
#E26346
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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