#AC5B97#AC5B97

#AC5B97 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.6% C 0.130 H 337.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AC5B97
RGBrgb(172, 91, 151)
HSLhsl(316, 33%, 52%)
HSVhsv(316, 47%, 67%)
CMYKcmyk(0%, 47.1%, 12.2%, 32.5%)
CIE-LABlab(50.08, 41.14, -18.27)
CIE-LCHlch(50.08, 45.02, 336.05°)
OKLaboklab(58.63% 0.12 -0.0491)
OKLCHoklch(58.63% 0.13 337.7)
XYZxyz(26.3404, 18.4889, 31.4535)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5B97 #5BAC70
analogous
#995BAC #AC5B97 #AC5B6F
triadic
#AC5B97 #97AC5B #5B97AC
tetradic
#AC5B97 #AC995B #5BAC70 #5B6FAC
square
#AC5B97 #AC995B #5BAC70 #5B6FAC
split-complementary
#AC5B97 #6FAC5B #5BAC99
monochromatic
#5D2F51 #864475 #AC5B97 #C184B1 #D5ACCB

Accessibility & contrast

On white

4.47
#AC5B97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AC5B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5B97
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5B97#FFFFFF#000000##000000
##AC5B971.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F99
Deuteranopia (green-blind)
#737C95
Tritanopia (blue-blind)
#B45E72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ac5b97;
/* rgb */ color: rgb(172, 91, 151);
/* oklch */ color: oklch(58.6% 0.130 337.7);
Tailwind
colors: {
  custom: {
    50: '#c68cb5',
    500: '#ac5b97',
    950: '#000000',
  },
}
SCSS
$custom: #ac5b97;
$custom-light: #c68cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5b97",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 315.556,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.1296,
    "h": 337.7
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#AC5B97
secondary
#A0C3A9
accent
#C97A5F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AC5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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