#AC2B94#AC2B94

#AC2B94 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.198 H 336.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AC2B94
RGBrgb(172, 43, 148)
HSLhsl(311, 60%, 42%)
HSVhsv(311, 75%, 67%)
CMYKcmyk(0%, 75%, 14%, 32.5%)
CIE-LABlab(42.21, 61.66, -28.65)
CIE-LCHlch(42.21, 67.99, 335.08°)
OKLaboklab(52.8% 0.1815 -0.078)
OKLCHoklch(52.8% 0.198 336.7)
XYZxyz(23.2228, 12.6387, 29.2277)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B94 #2BAC43
analogous
#842BAC #AC2B94 #AC2B53
triadic
#AC2B94 #94AC2B #2B94AC
tetradic
#AC2B94 #AC842B #2BAC43 #2B53AC
square
#AC2B94 #AC842B #2BAC43 #2B53AC
split-complementary
#AC2B94 #53AC2B #2BAC84
monochromatic
#4A1340 #7B1F6A #AC2B94 #D044B6 #DC75C9

Accessibility & contrast

On white

5.95
#AC2B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC2B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B94
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B94#FFFFFF#000000##FFFFFF
##AC2B941.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#5B6B91
Tritanopia (blue-blind)
#B5345D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2b94;
/* rgb */ color: rgb(172, 43, 148);
/* oklch */ color: oklch(52.8% 0.198 336.7);
Tailwind
colors: {
  custom: {
    50: '#c972b3',
    500: '#ac2b94',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b94;
$custom-light: #c972b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b94",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 311.163,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.1975,
    "h": 336.7
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#AC2B94
secondary
#6FC47F
accent
#E36245
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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