#AC3899#AC3899

#AC3899 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.186 H 335.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC3899
RGBrgb(172, 56, 153)
HSLhsl(310, 51%, 45%)
HSVhsv(310, 67%, 67%)
CMYKcmyk(0%, 67.4%, 11%, 32.5%)
CIE-LABlab(44.09, 57.80, -28.73)
CIE-LCHlch(44.09, 64.54, 333.57°)
OKLaboklab(54.24% 0.1683 -0.0783)
OKLCHoklch(54.24% 0.186 335)
XYZxyz(24.1774, 13.9009, 31.5406)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3899 #38AC4B
analogous
#8538AC #AC3899 #AC385F
triadic
#AC3899 #99AC38 #3899AC
tetradic
#AC3899 #AC8538 #38AC4B #385FAC
square
#AC3899 #AC8538 #38AC4B #385FAC
split-complementary
#AC3899 #5FAC38 #38AC85
monochromatic
#501A47 #7E2970 #AC3899 #C958B6 #D887CA

Accessibility & contrast

On white

5.56
#AC3899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AC3899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3899
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3899#FFFFFF#000000##FFFFFF
##AC38991.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#B44063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac3899;
/* rgb */ color: rgb(172, 56, 153);
/* oklch */ color: oklch(54.2% 0.186 335.0);
Tailwind
colors: {
  custom: {
    50: '#c878b7',
    500: '#ac3899',
    950: '#000000',
  },
}
SCSS
$custom: #ac3899;
$custom-light: #c878b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3899",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 309.828,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.18564,
    "h": 335
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#AC3899
secondary
#7EC289
accent
#DA654D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC3899

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

Preview Lab → · Contrast checker → · Palette generator →

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