#AC2786#AC2786

#AC2786 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.192 H 342.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC2786
RGBrgb(172, 39, 134)
HSLhsl(317, 63%, 41%)
HSVhsv(317, 77%, 67%)
CMYKcmyk(0%, 77.3%, 22.1%, 32.5%)
CIE-LABlab(41.13, 60.95, -21.80)
CIE-LCHlch(41.13, 64.73, 340.32°)
OKLaboklab(51.81% 0.1834 -0.0585)
OKLCHoklch(51.81% 0.192 342.3)
XYZxyz(22.0426, 11.9452, 23.6944)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2786 #27AC4D
analogous
#9027AC #AC2786 #AC2744
triadic
#AC2786 #86AC27 #2786AC
tetradic
#AC2786 #AC9027 #27AC4D #2744AC
square
#AC2786 #AC9027 #27AC4D #2744AC
split-complementary
#AC2786 #44AC27 #27AC90
monochromatic
#481038 #7A1C5F #AC2786 #D33DA8 #DE6FBF

Accessibility & contrast

On white

6.20
#AC2786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC2786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2786
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2786#FFFFFF#000000##FFFFFF
##AC27861.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355389
Deuteranopia (green-blind)
#5F6983
Tritanopia (blue-blind)
#B72954
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2786;
/* rgb */ color: rgb(172, 39, 134);
/* oklch */ color: oklch(51.8% 0.192 342.3);
Tailwind
colors: {
  custom: {
    50: '#c970a9',
    500: '#ac2786',
    950: '#000000',
  },
}
SCSS
$custom: #ac2786;
$custom-light: #c970a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2786",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 317.143,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.19249,
    "h": 342.3
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#AC2786
secondary
#6AC584
accent
#E67142
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2786

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

Preview Lab → · Contrast checker → · Palette generator →

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