#AC37A3#AC37A3

#AC37A3 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.7% C 0.195 H 331.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AC37A3
RGBrgb(172, 55, 163)
HSLhsl(305, 52%, 45%)
HSVhsv(305, 68%, 67%)
CMYKcmyk(0%, 68%, 5.2%, 32.5%)
CIE-LABlab(44.45, 59.77, -34.15)
CIE-LCHlch(44.45, 68.84, 330.26°)
OKLaboklab(54.66% 0.1704 -0.0939)
OKLCHoklch(54.66% 0.195 331.1)
XYZxyz(24.9903, 14.1493, 36.0581)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC37A3 #37AC40
analogous
#7A37AC #AC37A3 #AC3769
triadic
#AC37A3 #A3AC37 #37A3AC
tetradic
#AC37A3 #AC7A37 #37AC40 #3769AC
square
#AC37A3 #AC7A37 #37AC40 #3769AC
split-complementary
#AC37A3 #69AC37 #37AC7A
monochromatic
#4F194B #7E2877 #AC37A3 #C957C0 #D885D2

Accessibility & contrast

On white

5.48
#AC37A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AC37A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC37A3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC37A3#FFFFFF#000000##FFFFFF
##AC37A31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#B34468
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac37a3;
/* rgb */ color: rgb(172, 55, 163);
/* oklch */ color: oklch(54.7% 0.195 331.1);
Tailwind
colors: {
  custom: {
    50: '#c878be',
    500: '#ac37a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac37a3;
$custom-light: #c878be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac37a3",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 304.615,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.19455,
    "h": 331.1
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#AC37A3
secondary
#7DC282
accent
#DB584D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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