#AC2987#AC2987

#AC2987 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.191 H 342.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AC2987
RGBrgb(172, 41, 135)
HSLhsl(317, 62%, 42%)
HSVhsv(317, 76%, 67%)
CMYKcmyk(0%, 76.2%, 21.5%, 32.5%)
CIE-LABlab(41.39, 60.47, -22.01)
CIE-LCHlch(41.39, 64.35, 340.00°)
OKLaboklab(52.01% 0.1817 -0.0591)
OKLCHoklch(52.01% 0.191 342)
XYZxyz(22.1801, 12.1081, 24.0860)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2987 #29AC4E
analogous
#9029AC #AC2987 #AC2945
triadic
#AC2987 #87AC29 #2987AC
tetradic
#AC2987 #AC9029 #29AC4E #2945AC
square
#AC2987 #AC9029 #29AC4E #2945AC
split-complementary
#AC2987 #45AC29 #29AC90
monochromatic
#491139 #7B1D60 #AC2987 #D241A9 #DD72BF

Accessibility & contrast

On white

6.14
#AC2987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC2987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2987
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2987#FFFFFF#000000##FFFFFF
##AC29871.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36548A
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#B72B55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2987;
/* rgb */ color: rgb(172, 41, 135);
/* oklch */ color: oklch(52.0% 0.191 342.0);
Tailwind
colors: {
  custom: {
    50: '#c971aa',
    500: '#ac2987',
    950: '#000000',
  },
}
SCSS
$custom: #ac2987;
$custom-light: #c971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2987",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 316.947,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.19105,
    "h": 342
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#AC2987
secondary
#6CC585
accent
#E57143
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2987

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

Preview Lab → · Contrast checker → · Palette generator →

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