#AC37A2#AC37A2

#AC37A2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.194 H 331.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AC37A2
RGBrgb(172, 55, 162)
HSLhsl(305, 52%, 45%)
HSVhsv(305, 68%, 67%)
CMYKcmyk(0%, 68%, 5.8%, 32.5%)
CIE-LABlab(44.40, 59.61, -33.64)
CIE-LCHlch(44.40, 68.45, 330.56°)
OKLaboklab(54.6% 0.1703 -0.0924)
OKLCHoklch(54.6% 0.194 331.5)
XYZxyz(24.9010, 14.1136, 35.5881)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37A2 #37AC41
analogous
#7C37AC #AC37A2 #AC3768
triadic
#AC37A2 #A2AC37 #37A2AC
tetradic
#AC37A2 #AC7C37 #37AC41 #3768AC
square
#AC37A2 #AC7C37 #37AC41 #3768AC
split-complementary
#AC37A2 #68AC37 #37AC7C
monochromatic
#4F194B #7E2876 #AC37A2 #C957BF #D885D1

Accessibility & contrast

On white

5.49
#AC37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AC37A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37A2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37A2#FFFFFF#000000##FFFFFF
##AC37A21.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#B34368
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac37a2;
/* rgb */ color: rgb(172, 55, 162);
/* oklch */ color: oklch(54.6% 0.194 331.5);
Tailwind
colors: {
  custom: {
    50: '#c878be',
    500: '#ac37a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac37a2;
$custom-light: #c878be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37a2",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 305.128,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54602,
    "c": 0.19376,
    "h": 331.5
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#AC37A2
secondary
#7DC283
accent
#DB594D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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