#AC218D#AC218D

#AC218D is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.7% C 0.203 H 339.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC218D
RGBrgb(172, 33, 141)
HSLhsl(313, 68%, 40%)
HSVhsv(313, 81%, 67%)
CMYKcmyk(0%, 80.8%, 18%, 32.5%)
CIE-LABlab(40.87, 63.56, -26.49)
CIE-LCHlch(40.87, 68.85, 337.37°)
OKLaboklab(51.72% 0.1894 -0.0718)
OKLCHoklch(51.72% 0.203 339.2)
XYZxyz(22.3655, 11.7837, 26.2908)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC218D #21AC40
analogous
#8521AC #AC218D #AC2148
triadic
#AC218D #8DAC21 #218DAC
tetradic
#AC218D #AC8521 #21AC40 #2148AC
square
#AC218D #AC8521 #21AC40 #2148AC
split-complementary
#AC218D #48AC21 #21AC85
monochromatic
#450D39 #791763 #AC218D #D832B3 #E266C6

Accessibility & contrast

On white

6.26
#AC218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AC218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC218D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC218D#FFFFFF#000000##FFFFFF
##AC218D1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#5B688A
Tritanopia (blue-blind)
#B62856
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac218d;
/* rgb */ color: rgb(172, 33, 141);
/* oklch */ color: oklch(51.7% 0.203 339.2);
Tailwind
colors: {
  custom: {
    50: '#c96eae',
    500: '#ac218d',
    950: '#000000',
  },
}
SCSS
$custom: #ac218d;
$custom-light: #c96eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac218d",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 313.381,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.20254,
    "h": 339.2
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#AC218D
secondary
#62C778
accent
#EB643D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC218D

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

Preview Lab → · Contrast checker → · Palette generator →

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