#AC398F#AC398F

#AC398F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.177 H 339.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AC398F
RGBrgb(172, 57, 143)
HSLhsl(315, 50%, 45%)
HSVhsv(315, 67%, 67%)
CMYKcmyk(0%, 66.9%, 16.9%, 32.5%)
CIE-LABlab(43.77, 55.88, -23.19)
CIE-LCHlch(43.77, 60.51, 337.46°)
OKLaboklab(53.86% 0.1657 -0.0626)
OKLCHoklch(53.86% 0.177 339.3)
XYZxyz(23.4348, 13.6822, 27.3880)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC398F #39AC56
analogous
#8F39AC #AC398F #AC3956
triadic
#AC398F #8FAC39 #398FAC
tetradic
#AC398F #AC8F39 #39AC56 #3956AC
square
#AC398F #AC8F39 #39AC56 #3956AC
split-complementary
#AC398F #56AC39 #39AC8F
monochromatic
#501B43 #7E2A69 #AC398F #C85AAC #D888C3

Accessibility & contrast

On white

5.62
#AC398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AC398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC398F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC398F#FFFFFF#000000##FFFFFF
##AC398F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#B63D5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac398f;
/* rgb */ color: rgb(172, 57, 143);
/* oklch */ color: oklch(53.9% 0.177 339.3);
Tailwind
colors: {
  custom: {
    50: '#c878b0',
    500: '#ac398f',
    950: '#000000',
  },
}
SCSS
$custom: #ac398f;
$custom-light: #c878b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac398f",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 315.13,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.1771,
    "h": 339.3
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#AC398F
secondary
#7FC290
accent
#DA714E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC398F

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

Preview Lab → · Contrast checker → · Palette generator →

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