#AC2B9D#AC2B9D

#AC2B9D is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.204 H 333.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC2B9D
RGBrgb(172, 43, 157)
HSLhsl(307, 60%, 42%)
HSVhsv(307, 75%, 67%)
CMYKcmyk(0%, 75%, 8.7%, 32.5%)
CIE-LABlab(42.66, 63.00, -33.37)
CIE-LCHlch(42.66, 71.29, 332.09°)
OKLaboklab(53.27% 0.1822 -0.0916)
OKLCHoklch(53.27% 0.204 333.3)
XYZxyz(23.9631, 12.9348, 33.1263)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B9D #2BAC3A
analogous
#7B2BAC #AC2B9D #AC2B5C
triadic
#AC2B9D #9DAC2B #2B9DAC
tetradic
#AC2B9D #AC7B2B #2BAC3A #2B5CAC
square
#AC2B9D #AC7B2B #2BAC3A #2B5CAC
split-complementary
#AC2B9D #5CAC2B #2BAC7B
monochromatic
#4A1344 #7B1F70 #AC2B9D #D044C0 #DC75D0

Accessibility & contrast

On white

5.86
#AC2B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC2B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B9D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B9D#FFFFFF#000000##FFFFFF
##AC2B9D1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#B43862
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2b9d;
/* rgb */ color: rgb(172, 43, 157);
/* oklch */ color: oklch(53.3% 0.204 333.3);
Tailwind
colors: {
  custom: {
    50: '#c872ba',
    500: '#ac2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b9d;
$custom-light: #c872ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b9d",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 306.977,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53272,
    "c": 0.20386,
    "h": 333.3
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#AC2B9D
secondary
#6FC479
accent
#E35745
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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