#AC5282#AC5282

#AC5282 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.5% C 0.130 H 348.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AC5282
RGBrgb(172, 82, 130)
HSLhsl(328, 35%, 50%)
HSVhsv(328, 52%, 67%)
CMYKcmyk(0%, 52.3%, 24.4%, 32.5%)
CIE-LABlab(47.52, 42.50, -9.62)
CIE-LCHlch(47.52, 43.58, 347.24°)
OKLaboklab(56.46% 0.1279 -0.0251)
OKLCHoklch(56.46% 0.13 348.9)
XYZxyz(24.0605, 16.4190, 23.0167)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5282 #52AC7C
analogous
#A952AC #AC5282 #AC5255
triadic
#AC5282 #82AC52 #5282AC
tetradic
#AC5282 #ACA952 #52AC7C #5255AC
square
#AC5282 #ACA952 #52AC7C #5255AC
split-complementary
#AC5282 #55AC52 #52ACA9
monochromatic
#592A43 #833E63 #AC5282 #C07BA0 #D4A5BE

Accessibility & contrast

On white

4.90
#AC5282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AC5282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5282
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5282#FFFFFF#000000##FFFFFF
##AC52821.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6784
Deuteranopia (green-blind)
#747780
Tritanopia (blue-blind)
#B74F64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac5282;
/* rgb */ color: rgb(172, 82, 130);
/* oklch */ color: oklch(56.5% 0.130 348.9);
Tailwind
colors: {
  custom: {
    50: '#c786a6',
    500: '#ac5282',
    950: '#000000',
  },
}
SCSS
$custom: #ac5282;
$custom-light: #c786a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5282",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 328,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.13032,
    "h": 348.9
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#AC5282
secondary
#99C1AC
accent
#CB905C
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AC5282

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

Preview Lab → · Contrast checker → · Palette generator →

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