#AC5178#AC5178

#AC5178 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.0% C 0.127 H 355.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC5178
RGBrgb(172, 81, 120)
HSLhsl(334, 36%, 50%)
HSVhsv(334, 53%, 67%)
CMYKcmyk(0%, 52.9%, 30.2%, 32.5%)
CIE-LABlab(46.99, 41.62, -4.37)
CIE-LCHlch(46.99, 41.85, 354.00°)
OKLaboklab(55.95% 0.1262 -0.011)
OKLCHoklch(55.95% 0.127 355)
XYZxyz(23.3468, 16.0137, 19.6270)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5178 #51AC85
analogous
#AC51A5 #AC5178 #AC5851
triadic
#AC5178 #78AC51 #5178AC
tetradic
#AC5178 #A5AC51 #51AC85 #5851AC
square
#AC5178 #A5AC51 #51AC85 #5851AC
split-complementary
#AC5178 #51AC58 #51A5AC
monochromatic
#592A3E #823D5B #AC5178 #C07A98 #D4A3B8

Accessibility & contrast

On white

5.00
#AC5178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AC5178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5178
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5178#FFFFFF#000000##FFFFFF
##AC51781.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6579
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#B84C60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac5178;
/* rgb */ color: rgb(172, 81, 120);
/* oklch */ color: oklch(56.0% 0.127 355.0);
Tailwind
colors: {
  custom: {
    50: '#c7859e',
    500: '#ac5178',
    950: '#000000',
  },
}
SCSS
$custom: #ac5178;
$custom-light: #c7859e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5178",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 334.286,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.12667,
    "h": 355
  },
  "luminance": 0.16012
}

Semantic roles & 50–950 ramp

primary
#AC5178
secondary
#98C1AF
accent
#CC9C5C
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AC5178

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

Preview Lab → · Contrast checker → · Palette generator →

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