#AC287F#AC287F

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

Color values

HEX#AC287F
RGBrgb(172, 40, 127)
HSLhsl(320, 62%, 42%)
HSVhsv(320, 77%, 67%)
CMYKcmyk(0%, 76.7%, 26.2%, 32.5%)
CIE-LABlab(40.93, 59.74, -17.79)
CIE-LCHlch(40.93, 62.33, 343.41°)
OKLaboklab(51.57% 0.1812 -0.0473)
OKLCHoklch(51.57% 0.187 345.4)
XYZxyz(21.6038, 11.8229, 21.2189)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC287F #28AC55
analogous
#9728AC #AC287F #AC283D
triadic
#AC287F #7FAC28 #287FAC
tetradic
#AC287F #AC9728 #28AC55 #283DAC
square
#AC287F #AC9728 #28AC55 #283DAC
split-complementary
#AC287F #3DAC28 #28AC97
monochromatic
#491136 #7A1C5A #AC287F #D23FA0 #DE71B9

Accessibility & contrast

On white

6.24
#AC287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC287F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC287F#FFFFFF#000000##FFFFFF
##AC287F1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#B82550
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac287f;
/* rgb */ color: rgb(172, 40, 127);
/* oklch */ color: oklch(51.6% 0.187 345.4);
Tailwind
colors: {
  custom: {
    50: '#c970a4',
    500: '#ac287f',
    950: '#000000',
  },
}
SCSS
$custom: #ac287f;
$custom-light: #c970a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac287f",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 320.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.18727,
    "h": 345.4
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#AC287F
secondary
#6BC58A
accent
#E57A42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC287F

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

Preview Lab → · Contrast checker → · Palette generator →

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