#AC5E97#AC5E97

#AC5E97 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.1% C 0.124 H 338.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC5E97
RGBrgb(172, 94, 151)
HSLhsl(316, 32%, 52%)
HSVhsv(316, 45%, 67%)
CMYKcmyk(0%, 45.3%, 12.2%, 32.5%)
CIE-LABlab(50.70, 39.55, -17.33)
CIE-LCHlch(50.70, 43.18, 336.34°)
OKLaboklab(59.09% 0.1153 -0.0465)
OKLCHoklch(59.09% 0.124 338)
XYZxyz(26.6020, 19.0121, 31.5407)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5E97 #5EAC73
analogous
#9A5EAC #AC5E97 #AC5E70
triadic
#AC5E97 #97AC5E #5E97AC
tetradic
#AC5E97 #AC9A5E #5EAC73 #5E70AC
square
#AC5E97 #AC9A5E #5EAC73 #5E70AC
split-complementary
#AC5E97 #70AC5E #5EAC9A
monochromatic
#5F3152 #874676 #AC5E97 #C186B1 #D6AFCB

Accessibility & contrast

On white

4.37
#AC5E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AC5E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5E97
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5E97#FFFFFF#000000##000000
##AC5E971.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#757D95
Tritanopia (blue-blind)
#B46074
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac5e97;
/* rgb */ color: rgb(172, 94, 151);
/* oklch */ color: oklch(59.1% 0.124 338.0);
Tailwind
colors: {
  custom: {
    50: '#c68eb5',
    500: '#ac5e97',
    950: '#000000',
  },
}
SCSS
$custom: #ac5e97;
$custom-light: #c68eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5e97",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 316.154,
    "s": 31.967,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.12433,
    "h": 338
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#AC5E97
secondary
#A2C4AB
accent
#C87C60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AC5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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