#AC2D9B#AC2D9B

#AC2D9B is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.200 H 334.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC2D9B
RGBrgb(172, 45, 155)
HSLhsl(308, 59%, 43%)
HSVhsv(308, 74%, 67%)
CMYKcmyk(0%, 73.8%, 9.9%, 32.5%)
CIE-LABlab(42.79, 62.06, -31.97)
CIE-LCHlch(42.79, 69.81, 332.74°)
OKLaboklab(53.33% 0.1801 -0.0875)
OKLCHoklch(53.33% 0.2 334.1)
XYZxyz(23.8683, 13.0160, 32.2593)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D9B #2DAC3E
analogous
#7D2DAC #AC2D9B #AC2D5C
triadic
#AC2D9B #9BAC2D #2D9BAC
tetradic
#AC2D9B #AC7D2D #2DAC3E #2D5CAC
square
#AC2D9B #AC7D2D #2DAC3E #2D5CAC
split-complementary
#AC2D9B #5CAC2D #2DAC7D
monochromatic
#4B1444 #7B206F #AC2D9B #CF47BD #DC78CE

Accessibility & contrast

On white

5.83
#AC2D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC2D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D9B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D9B#FFFFFF#000000##FFFFFF
##AC2D9B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#B43961
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2d9b;
/* rgb */ color: rgb(172, 45, 155);
/* oklch */ color: oklch(53.3% 0.200 334.1);
Tailwind
colors: {
  custom: {
    50: '#c873b9',
    500: '#ac2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d9b;
$custom-light: #c873b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d9b",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 308.031,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53327,
    "c": 0.20029,
    "h": 334.1
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#AC2D9B
secondary
#71C47C
accent
#E25B46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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