#AC338C#AC338C

#AC338C is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.183 H 340.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AC338C
RGBrgb(172, 51, 140)
HSLhsl(316, 54%, 44%)
HSVhsv(316, 70%, 67%)
CMYKcmyk(0%, 70.3%, 18.6%, 32.5%)
CIE-LABlab(42.81, 57.76, -22.86)
CIE-LCHlch(42.81, 62.12, 338.41°)
OKLaboklab(53.12% 0.1721 -0.0616)
OKLCHoklch(53.12% 0.183 340.3)
XYZxyz(22.9313, 13.0340, 26.1140)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC338C #33AC53
analogous
#8F33AC #AC338C #AC334F
triadic
#AC338C #8CAC33 #338CAC
tetradic
#AC338C #AC8F33 #33AC53 #334FAC
square
#AC338C #AC8F33 #33AC53 #334FAC
split-complementary
#AC338C #4FAC33 #33AC8F
monochromatic
#4E173F #7D2566 #AC338C #CB51AB #D980C2

Accessibility & contrast

On white

5.82
#AC338C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC338C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC338C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC338C#FFFFFF#000000##FFFFFF
##AC338C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#B6365B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac338c;
/* rgb */ color: rgb(172, 51, 140);
/* oklch */ color: oklch(53.1% 0.183 340.3);
Tailwind
colors: {
  custom: {
    50: '#c875ae',
    500: '#ac338c',
    950: '#000000',
  },
}
SCSS
$custom: #ac338c;
$custom-light: #c875ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac338c",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 315.868,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.18281,
    "h": 340.3
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#AC338C
secondary
#78C28C
accent
#DE714A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC338C

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

Preview Lab → · Contrast checker → · Palette generator →

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