#AC2B9B#AC2B9B

#AC2B9B is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.202 H 334.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC2B9B
RGBrgb(172, 43, 155)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 75%, 9.9%, 32.5%)
CIE-LABlab(42.56, 62.70, -32.33)
CIE-LCHlch(42.56, 70.54, 332.72°)
OKLaboklab(53.16% 0.182 -0.0886)
OKLCHoklch(53.16% 0.202 334.1)
XYZxyz(23.7937, 12.8670, 32.2344)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B9B #2BAC3C
analogous
#7D2BAC #AC2B9B #AC2B5B
triadic
#AC2B9B #9BAC2B #2B9BAC
tetradic
#AC2B9B #AC7D2B #2BAC3C #2B5BAC
square
#AC2B9B #AC7D2B #2BAC3C #2B5BAC
split-complementary
#AC2B9B #5BAC2B #2BAC7D
monochromatic
#4A1343 #7B1F6F #AC2B9B #D044BE #DC75CF

Accessibility & contrast

On white

5.88
#AC2B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC2B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B9B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B9B#FFFFFF#000000##FFFFFF
##AC2B9B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599E
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#B43761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2b9b;
/* rgb */ color: rgb(172, 43, 155);
/* oklch */ color: oklch(53.2% 0.202 334.1);
Tailwind
colors: {
  custom: {
    50: '#c872b9',
    500: '#ac2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b9b;
$custom-light: #c872b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b9b",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 307.907,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.20243,
    "h": 334.1
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#AC2B9B
secondary
#6FC47A
accent
#E35A45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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