#AC2B95#AC2B95

#AC2B95 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.198 H 336.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC2B95
RGBrgb(172, 43, 149)
HSLhsl(311, 60%, 42%)
HSVhsv(311, 75%, 67%)
CMYKcmyk(0%, 75%, 13.4%, 32.5%)
CIE-LABlab(42.26, 61.81, -29.18)
CIE-LCHlch(42.26, 68.35, 334.73°)
OKLaboklab(52.85% 0.1816 -0.0795)
OKLCHoklch(52.85% 0.198 336.3)
XYZxyz(23.3023, 12.6705, 29.6463)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B95 #2BAC42
analogous
#832BAC #AC2B95 #AC2B54
triadic
#AC2B95 #95AC2B #2B95AC
tetradic
#AC2B95 #AC832B #2BAC42 #2B54AC
square
#AC2B95 #AC832B #2BAC42 #2B54AC
split-complementary
#AC2B95 #54AC2B #2BAC83
monochromatic
#4A1340 #7B1F6B #AC2B95 #D044B7 #DC75CA

Accessibility & contrast

On white

5.94
#AC2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2B95
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B95#FFFFFF#000000##FFFFFF
##AC2B951.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2b95;
/* rgb */ color: rgb(172, 43, 149);
/* oklch */ color: oklch(52.9% 0.198 336.3);
Tailwind
colors: {
  custom: {
    50: '#c972b4',
    500: '#ac2b95',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b95;
$custom-light: #c972b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b95",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 310.698,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.1982,
    "h": 336.3
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#AC2B95
secondary
#6FC47E
accent
#E36145
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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