#AC219F#AC219F

#AC219F is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.215 H 332.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AC219F
RGBrgb(172, 33, 159)
HSLhsl(306, 68%, 40%)
HSVhsv(306, 81%, 67%)
CMYKcmyk(0%, 80.8%, 7.6%, 32.5%)
CIE-LABlab(41.79, 66.13, -35.95)
CIE-LCHlch(41.79, 75.27, 331.47°)
OKLaboklab(52.68% 0.1905 -0.0989)
OKLCHoklch(52.68% 0.215 332.5)
XYZxyz(23.8152, 12.3636, 33.9263)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC219F #21AC2E
analogous
#7421AC #AC219F #AC2159
triadic
#AC219F #9FAC21 #219FAC
tetradic
#AC219F #AC7421 #21AC2E #2159AC
square
#AC219F #AC7421 #21AC2E #2159AC
split-complementary
#AC219F #59AC21 #21AC74
monochromatic
#450D40 #791770 #AC219F #D832C8 #E266D6

Accessibility & contrast

On white

6.05
#AC219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC219F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC219F#FFFFFF#000000##FFFFFF
##AC219F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#53699C
Tritanopia (blue-blind)
#B43360
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac219f;
/* rgb */ color: rgb(172, 33, 159);
/* oklch */ color: oklch(52.7% 0.215 332.5);
Tailwind
colors: {
  custom: {
    50: '#c96fbc',
    500: '#ac219f',
    950: '#000000',
  },
}
SCSS
$custom: #ac219f;
$custom-light: #c96fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac219f",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 305.612,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.21465,
    "h": 332.5
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#AC219F
secondary
#62C76B
accent
#EB4D3D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC219F

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

Preview Lab → · Contrast checker → · Palette generator →

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