#AC398E#AC398E

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

Color values

HEX#AC398E
RGBrgb(172, 57, 142)
HSLhsl(316, 50%, 45%)
HSVhsv(316, 67%, 67%)
CMYKcmyk(0%, 66.9%, 17.4%, 32.5%)
CIE-LABlab(43.73, 55.74, -22.65)
CIE-LCHlch(43.73, 60.16, 337.88°)
OKLaboklab(53.81% 0.1655 -0.0611)
OKLCHoklch(53.81% 0.176 339.7)
XYZxyz(23.3594, 13.6520, 26.9908)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC398E #39AC57
analogous
#9039AC #AC398E #AC3955
triadic
#AC398E #8EAC39 #398EAC
tetradic
#AC398E #AC9039 #39AC57 #3955AC
square
#AC398E #AC9039 #39AC57 #3955AC
split-complementary
#AC398E #55AC39 #39AC90
monochromatic
#501B42 #7E2A68 #AC398E #C85AAB #D888C3

Accessibility & contrast

On white

5.63
#AC398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC398E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC398E#FFFFFF#000000##FFFFFF
##AC398E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C90
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#B63C5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac398e;
/* rgb */ color: rgb(172, 57, 142);
/* oklch */ color: oklch(53.8% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#c878af',
    500: '#ac398e',
    950: '#000000',
  },
}
SCSS
$custom: #ac398e;
$custom-light: #c878af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac398e",
  "rgb": {
    "r": 172,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 315.652,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.1764,
    "h": 339.7
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC398E

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

Preview Lab → · Contrast checker → · Palette generator →

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