#AC5B82#AC5B82

#AC5B82 is a mid, moderate pink. Relative luminance 0.179; OKLCH L 57.8% C 0.115 H 351.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AC5B82
RGBrgb(172, 91, 130)
HSLhsl(331, 33%, 52%)
HSVhsv(331, 47%, 67%)
CMYKcmyk(0%, 47.1%, 24.4%, 32.5%)
CIE-LABlab(49.33, 37.82, -6.91)
CIE-LCHlch(49.33, 38.45, 349.65°)
OKLaboklab(57.82% 0.1137 -0.0179)
OKLCHoklch(57.82% 0.115 351.1)
XYZxyz(24.7843, 17.8665, 23.2580)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5B82 #5BAC85
analogous
#AC5BAB #AC5B82 #AC5D5B
triadic
#AC5B82 #82AC5B #5B82AC
tetradic
#AC5B82 #ABAC5B #5BAC85 #5D5BAC
square
#AC5B82 #ABAC5B #5BAC85 #5D5BAC
split-complementary
#AC5B82 #5BAC5D #5BABAC
monochromatic
#5D2F45 #864464 #AC5B82 #C184A1 #D5ACC0

Accessibility & contrast

On white

4.59
#AC5B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AC5B82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5B82
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5B82#FFFFFF#000000##FFFFFF
##AC5B821.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#797B80
Tritanopia (blue-blind)
#B65869
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac5b82;
/* rgb */ color: rgb(172, 91, 130);
/* oklch */ color: oklch(57.8% 0.115 351.1);
Tailwind
colors: {
  custom: {
    50: '#c78ba6',
    500: '#ac5b82',
    950: '#000000',
  },
}
SCSS
$custom: #ac5b82;
$custom-light: #c78ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5b82",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 331.111,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.11512,
    "h": 351.1
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#AC5B82
secondary
#A0C3B2
accent
#C9965F
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AC5B82

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

Preview Lab → · Contrast checker → · Palette generator →

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