#AC287E#AC287E

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

Color values

HEX#AC287E
RGBrgb(172, 40, 126)
HSLhsl(321, 62%, 42%)
HSVhsv(321, 77%, 67%)
CMYKcmyk(0%, 76.7%, 26.7%, 32.5%)
CIE-LABlab(40.89, 59.61, -17.24)
CIE-LCHlch(40.89, 62.06, 343.87°)
OKLaboklab(51.52% 0.181 -0.0458)
OKLCHoklch(51.52% 0.187 345.8)
XYZxyz(21.5389, 11.7970, 20.8774)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC287E #28AC56
analogous
#9828AC #AC287E #AC283C
triadic
#AC287E #7EAC28 #287EAC
tetradic
#AC287E #AC9828 #28AC56 #283CAC
square
#AC287E #AC9828 #28AC56 #283CAC
split-complementary
#AC287E #3CAC28 #28AC98
monochromatic
#491135 #7A1C5A #AC287E #D23F9F #DE71B8

Accessibility & contrast

On white

6.25
#AC287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC287E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC287E#FFFFFF#000000##FFFFFF
##AC287E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#B82550
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac287e;
/* rgb */ color: rgb(172, 40, 126);
/* oklch */ color: oklch(51.5% 0.187 345.8);
Tailwind
colors: {
  custom: {
    50: '#c970a3',
    500: '#ac287e',
    950: '#000000',
  },
}
SCSS
$custom: #ac287e;
$custom-light: #c970a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac287e",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 320.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.18669,
    "h": 345.8
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#AC287E
secondary
#6BC58A
accent
#E57B42
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC287E

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

Preview Lab → · Contrast checker → · Palette generator →

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