#AC2587#AC2587

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

Color values

HEX#AC2587
RGBrgb(172, 37, 135)
HSLhsl(316, 65%, 41%)
HSVhsv(316, 78%, 67%)
CMYKcmyk(0%, 78.5%, 21.5%, 32.5%)
CIE-LABlab(40.97, 61.66, -22.66)
CIE-LCHlch(40.97, 65.70, 339.82°)
OKLaboklab(51.7% 0.1853 -0.0609)
OKLCHoklch(51.7% 0.195 341.8)
XYZxyz(22.0488, 11.8454, 24.0422)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2587 #25AC4A
analogous
#8D25AC #AC2587 #AC2544
triadic
#AC2587 #87AC25 #2587AC
tetradic
#AC2587 #AC8D25 #25AC4A #2544AC
square
#AC2587 #AC8D25 #25AC4A #2544AC
split-complementary
#AC2587 #44AC25 #25AC8D
monochromatic
#470F38 #7A1A5F #AC2587 #D53AAA #DF6CC0

Accessibility & contrast

On white

6.23
#AC2587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC2587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2587
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2587#FFFFFF#000000##FFFFFF
##AC25871.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2587;
/* rgb */ color: rgb(172, 37, 135);
/* oklch */ color: oklch(51.7% 0.195 341.8);
Tailwind
colors: {
  custom: {
    50: '#c96faa',
    500: '#ac2587',
    950: '#000000',
  },
}
SCSS
$custom: #ac2587;
$custom-light: #c96faa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2587",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 316.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.19509,
    "h": 341.8
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#AC2587
secondary
#67C681
accent
#E86E40
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2587

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

Preview Lab → · Contrast checker → · Palette generator →

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