#AC287D#AC287D

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

Color values

HEX#AC287D
RGBrgb(172, 40, 125)
HSLhsl(321, 62%, 42%)
HSVhsv(321, 77%, 67%)
CMYKcmyk(0%, 76.7%, 27.3%, 32.5%)
CIE-LABlab(40.85, 59.49, -16.68)
CIE-LCHlch(40.85, 61.78, 344.33°)
OKLaboklab(51.48% 0.1808 -0.0442)
OKLCHoklch(51.48% 0.186 346.3)
XYZxyz(21.4747, 11.7713, 20.5392)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC287D #28AC57
analogous
#9928AC #AC287D #AC283B
triadic
#AC287D #7DAC28 #287DAC
tetradic
#AC287D #AC9928 #28AC57 #283BAC
square
#AC287D #AC9928 #28AC57 #283BAC
split-complementary
#AC287D #3BAC28 #28AC99
monochromatic
#491135 #7A1C59 #AC287D #D23F9E #DE71B7

Accessibility & contrast

On white

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

On black

3.35
#AC287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC287D#FFFFFF#000000##FFFFFF
##AC287D1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#B8244F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac287d;
/* rgb */ color: rgb(172, 40, 125);
/* oklch */ color: oklch(51.5% 0.186 346.3);
Tailwind
colors: {
  custom: {
    50: '#c970a2',
    500: '#ac287d',
    950: '#000000',
  },
}
SCSS
$custom: #ac287d;
$custom-light: #c970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac287d",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 321.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.18613,
    "h": 346.3
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#AC287D
secondary
#6BC58B
accent
#E57C42
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC287D

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

Preview Lab → · Contrast checker → · Palette generator →

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