#AC398D#AC398D

#AC398D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.176 H 340.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AC398D
RGBrgb(172, 57, 141)
HSLhsl(316, 50%, 45%)
HSVhsv(316, 67%, 67%)
CMYKcmyk(0%, 66.9%, 18%, 32.5%)
CIE-LABlab(43.69, 55.59, -22.12)
CIE-LCHlch(43.69, 59.83, 338.31°)
OKLaboklab(53.76% 0.1653 -0.0596)
OKLCHoklch(53.76% 0.176 340.2)
XYZxyz(23.2847, 13.6221, 26.5972)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC398D #39AC58
analogous
#9239AC #AC398D #AC3954
triadic
#AC398D #8DAC39 #398DAC
tetradic
#AC398D #AC9239 #39AC58 #3954AC
square
#AC398D #AC9239 #39AC58 #3954AC
split-complementary
#AC398D #54AC39 #39AC92
monochromatic
#501B42 #7E2A67 #AC398D #C85AAB #D888C2

Accessibility & contrast

On white

5.64
#AC398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC398D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC398D#FFFFFF#000000##FFFFFF
##AC398D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C8F
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#B63C5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac398d;
/* rgb */ color: rgb(172, 57, 141);
/* oklch */ color: oklch(53.8% 0.176 340.2);
Tailwind
colors: {
  custom: {
    50: '#c878ae',
    500: '#ac398d',
    950: '#000000',
  },
}
SCSS
$custom: #ac398d;
$custom-light: #c878ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac398d",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 316.174,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.17571,
    "h": 340.2
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#AC398D
secondary
#7FC291
accent
#DA744E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC398D

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

Preview Lab → · Contrast checker → · Palette generator →

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