#AC5877#AC5877

#AC5877 is a mid, moderate pink. Relative luminance 0.171; OKLCH L 57.0% C 0.115 H 358.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AC5877
RGBrgb(172, 88, 119)
HSLhsl(338, 34%, 51%)
HSVhsv(338, 49%, 67%)
CMYKcmyk(0%, 48.8%, 30.8%, 32.5%)
CIE-LABlab(48.37, 37.86, -1.74)
CIE-LCHlch(48.37, 37.90, 357.37°)
OKLaboklab(56.98% 0.1148 -0.0041)
OKLCHoklch(56.98% 0.115 358)
XYZxyz(23.8337, 17.0841, 19.4915)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5877 #58AC8D
analogous
#AC58A1 #AC5877 #AC6358
triadic
#AC5877 #77AC58 #5877AC
tetradic
#AC5877 #A1AC58 #58AC8D #6358AC
square
#AC5877 #A1AC58 #58AC8D #6358AC
split-complementary
#AC5877 #58AC63 #58A1AC
monochromatic
#5C2E3F #85425B #AC5877 #C08198 #D5AABA

Accessibility & contrast

On white

4.76
#AC5877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AC5877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5877
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5877#FFFFFF#000000##FFFFFF
##AC58771.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646978
Deuteranopia (green-blind)
#7A7975
Tritanopia (blue-blind)
#B85363
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac5877;
/* rgb */ color: rgb(172, 88, 119);
/* oklch */ color: oklch(57.0% 0.115 358.0);
Tailwind
colors: {
  custom: {
    50: '#c7899e',
    500: '#ac5877',
    950: '#000000',
  },
}
SCSS
$custom: #ac5877;
$custom-light: #c7899e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5877",
  "rgb": {
    "r": 172,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 337.857,
    "s": 33.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.11482,
    "h": 358
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#AC5877
secondary
#9DC3B5
accent
#CAA25E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AC5877

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

Preview Lab → · Contrast checker → · Palette generator →

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