#AC379D#AC379D

#AC379D is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.190 H 333.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AC379D
RGBrgb(172, 55, 157)
HSLhsl(308, 52%, 45%)
HSVhsv(308, 68%, 67%)
CMYKcmyk(0%, 68%, 8.7%, 32.5%)
CIE-LABlab(44.15, 58.81, -31.04)
CIE-LCHlch(44.15, 66.50, 332.17°)
OKLaboklab(54.34% 0.1699 -0.0849)
OKLCHoklch(54.34% 0.19 333.4)
XYZxyz(24.4654, 13.9393, 33.2938)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC379D #37AC46
analogous
#8137AC #AC379D #AC3763
triadic
#AC379D #9DAC37 #379DAC
tetradic
#AC379D #AC8137 #37AC46 #3763AC
square
#AC379D #AC8137 #37AC46 #3763AC
split-complementary
#AC379D #63AC37 #37AC81
monochromatic
#4F1948 #7E2873 #AC379D #C957BB #D885CD

Accessibility & contrast

On white

5.54
#AC379D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AC379D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC379D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC379D#FFFFFF#000000##FFFFFF
##AC379D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA0
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#B44165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac379d;
/* rgb */ color: rgb(172, 55, 157);
/* oklch */ color: oklch(54.3% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#c877ba',
    500: '#ac379d',
    950: '#000000',
  },
}
SCSS
$custom: #ac379d;
$custom-light: #c877ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac379d",
  "rgb": {
    "r": 172,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 307.692,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.18993,
    "h": 333.4
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#AC379D
secondary
#7DC286
accent
#DB5F4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC379D

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

Preview Lab → · Contrast checker → · Palette generator →

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