#AC398A#AC398A

#AC398A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.174 H 341.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC398A
RGBrgb(172, 57, 138)
HSLhsl(318, 50%, 45%)
HSVhsv(318, 67%, 67%)
CMYKcmyk(0%, 66.9%, 19.8%, 32.5%)
CIE-LABlab(43.56, 55.16, -20.49)
CIE-LCHlch(43.56, 58.84, 339.62°)
OKLaboklab(53.63% 0.1648 -0.055)
OKLCHoklch(53.63% 0.174 341.5)
XYZxyz(23.0645, 13.5341, 25.4375)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC398A #39AC5B
analogous
#9439AC #AC398A #AC3951
triadic
#AC398A #8AAC39 #398AAC
tetradic
#AC398A #AC9439 #39AC5B #3951AC
square
#AC398A #AC9439 #39AC5B #3951AC
split-complementary
#AC398A #51AC39 #39AC94
monochromatic
#501B40 #7E2A65 #AC398A #C85AA8 #D888C0

Accessibility & contrast

On white

5.67
#AC398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AC398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC398A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC398A#FFFFFF#000000##FFFFFF
##AC398A1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#B63B5C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac398a;
/* rgb */ color: rgb(172, 57, 138);
/* oklch */ color: oklch(53.6% 0.174 341.5);
Tailwind
colors: {
  custom: {
    50: '#c878ac',
    500: '#ac398a',
    950: '#000000',
  },
}
SCSS
$custom: #ac398a;
$custom-light: #c878ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac398a",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 317.739,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.17368,
    "h": 341.5
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#AC398A
secondary
#7FC293
accent
#DA774E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC398A

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

Preview Lab → · Contrast checker → · Palette generator →

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