#AC2CA2#AC2CA2

#AC2CA2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.206 H 331.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AC2CA2
RGBrgb(172, 44, 162)
HSLhsl(305, 59%, 42%)
HSVhsv(305, 74%, 67%)
CMYKcmyk(0%, 74.4%, 5.8%, 32.5%)
CIE-LABlab(43.04, 63.46, -35.78)
CIE-LCHlch(43.04, 72.85, 330.59°)
OKLaboklab(53.62% 0.1815 -0.0985)
OKLCHoklch(53.62% 0.206 331.5)
XYZxyz(24.4355, 13.1826, 35.4329)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA2 #2CAC36
analogous
#762CAC #AC2CA2 #AC2C62
triadic
#AC2CA2 #A2AC2C #2CA2AC
tetradic
#AC2CA2 #AC762C #2CAC36 #2C62AC
square
#AC2CA2 #AC762C #2CAC36 #2C62AC
split-complementary
#AC2CA2 #62AC2C #2CAC76
monochromatic
#4B1346 #7B2074 #AC2CA2 #D046C5 #DC76D4

Accessibility & contrast

On white

5.78
#AC2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AC2CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CA2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA2#FFFFFF#000000##FFFFFF
##AC2CA21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#B33B65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ca2;
/* rgb */ color: rgb(172, 44, 162);
/* oklch */ color: oklch(53.6% 0.206 331.5);
Tailwind
colors: {
  custom: {
    50: '#c873be',
    500: '#ac2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca2;
$custom-light: #c873be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca2",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 304.688,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.20647,
    "h": 331.5
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#AC2CA2
secondary
#70C477
accent
#E25245
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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