#AC219B#AC219B

#AC219B is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.212 H 334.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC219B
RGBrgb(172, 33, 155)
HSLhsl(307, 68%, 40%)
HSVhsv(307, 81%, 67%)
CMYKcmyk(0%, 80.8%, 9.9%, 32.5%)
CIE-LABlab(41.57, 65.54, -33.88)
CIE-LCHlch(41.57, 73.78, 332.66°)
OKLaboklab(52.46% 0.1904 -0.093)
OKLCHoklch(52.46% 0.212 334)
XYZxyz(23.4738, 12.2270, 32.1278)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC219B #21AC32
analogous
#7721AC #AC219B #AC2156
triadic
#AC219B #9BAC21 #219BAC
tetradic
#AC219B #AC7721 #21AC32 #2156AC
square
#AC219B #AC7721 #21AC32 #2156AC
split-complementary
#AC219B #56AC21 #21AC77
monochromatic
#450D3E #79176D #AC219B #D832C4 #E266D2

Accessibility & contrast

On white

6.10
#AC219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC219B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC219B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC219B#FFFFFF#000000##FFFFFF
##AC219B1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#B4315E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac219b;
/* rgb */ color: rgb(172, 33, 155);
/* oklch */ color: oklch(52.5% 0.212 334.0);
Tailwind
colors: {
  custom: {
    50: '#c96eb9',
    500: '#ac219b',
    950: '#000000',
  },
}
SCSS
$custom: #ac219b;
$custom-light: #c96eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac219b",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 307.338,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.21187,
    "h": 334
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#AC219B
secondary
#62C76E
accent
#EB523D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC219B

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

Preview Lab → · Contrast checker → · Palette generator →

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