#AC286B#AC286B

#AC286B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 354.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AC286B
RGBrgb(172, 40, 107)
HSLhsl(330, 62%, 42%)
HSVhsv(330, 77%, 67%)
CMYKcmyk(0%, 76.7%, 37.8%, 32.5%)
CIE-LABlab(40.17, 57.40, -6.50)
CIE-LCHlch(40.17, 57.76, 353.53°)
OKLaboklab(50.76% 0.1763 -0.0164)
OKLCHoklch(50.76% 0.177 354.7)
XYZxyz(20.4272, 11.3523, 15.0226)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC286B #28AC69
analogous
#AB28AC #AC286B #AC2829
triadic
#AC286B #6BAC28 #286BAC
tetradic
#AC286B #ACAB28 #28AC69 #2829AC
square
#AC286B #ACAB28 #28AC69 #2829AC
split-complementary
#AC286B #29AC28 #28ACAB
monochromatic
#49112D #7A1C4C #AC286B #D23F8A #DE71A8

Accessibility & contrast

On white

6.42
#AC286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AC286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC286B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC286B#FFFFFF#000000##FFFFFF
##AC286B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#676768
Tritanopia (blue-blind)
#BA1846
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac286b;
/* rgb */ color: rgb(172, 40, 107);
/* oklch */ color: oklch(50.8% 0.177 354.7);
Tailwind
colors: {
  custom: {
    50: '#ca6f95',
    500: '#ac286b',
    950: '#000000',
  },
}
SCSS
$custom: #ac286b;
$custom-light: #ca6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ac286b",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 329.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.17705,
    "h": 354.7
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#AC286B
secondary
#6BC597
accent
#E59342
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AC286B

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

Preview Lab → · Contrast checker → · Palette generator →

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