#AC2487#AC2487

#AC2487 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.196 H 341.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC2487
RGBrgb(172, 36, 135)
HSLhsl(316, 65%, 41%)
HSVhsv(316, 79%, 67%)
CMYKcmyk(0%, 79.1%, 21.5%, 32.5%)
CIE-LABlab(40.87, 61.95, -22.81)
CIE-LCHlch(40.87, 66.01, 339.78°)
OKLaboklab(51.63% 0.1862 -0.0614)
OKLCHoklch(51.63% 0.196 341.8)
XYZxyz(22.0181, 11.7840, 24.0320)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2487 #24AC49
analogous
#8D24AC #AC2487 #AC2443
triadic
#AC2487 #87AC24 #2487AC
tetradic
#AC2487 #AC8D24 #24AC49 #2443AC
square
#AC2487 #AC8D24 #24AC49 #2443AC
split-complementary
#AC2487 #43AC24 #24AC8D
monochromatic
#470F38 #79195F #AC2487 #D538AA #E06AC0

Accessibility & contrast

On white

6.26
#AC2487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AC2487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2487
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2487#FFFFFF#000000##FFFFFF
##AC24871.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32528A
Deuteranopia (green-blind)
#5E6884
Tritanopia (blue-blind)
#B72754
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2487;
/* rgb */ color: rgb(172, 36, 135);
/* oklch */ color: oklch(51.6% 0.196 341.8);
Tailwind
colors: {
  custom: {
    50: '#c96faa',
    500: '#ac2487',
    950: '#000000',
  },
}
SCSS
$custom: #ac2487;
$custom-light: #c96faa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2487",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 316.324,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.19604,
    "h": 341.8
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#AC2487
secondary
#66C680
accent
#E86D3F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2487

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

Preview Lab → · Contrast checker → · Palette generator →

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