#AC2687#AC2687

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

Color values

HEX#AC2687
RGBrgb(172, 38, 135)
HSLhsl(317, 64%, 41%)
HSVhsv(317, 78%, 67%)
CMYKcmyk(0%, 77.9%, 21.5%, 32.5%)
CIE-LABlab(41.07, 61.38, -22.50)
CIE-LCHlch(41.07, 65.37, 339.86°)
OKLaboklab(51.78% 0.1844 -0.0605)
OKLCHoklch(51.78% 0.194 341.8)
XYZxyz(22.0803, 11.9085, 24.0527)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2687 #26AC4B
analogous
#8E26AC #AC2687 #AC2644
triadic
#AC2687 #87AC26 #2687AC
tetradic
#AC2687 #AC8E26 #26AC4B #2644AC
square
#AC2687 #AC8E26 #26AC4B #2644AC
split-complementary
#AC2687 #44AC26 #26AC8E
monochromatic
#481038 #7A1B60 #AC2687 #D43BAA #DF6EC0

Accessibility & contrast

On white

6.21
#AC2687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC2687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2687
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2687#FFFFFF#000000##FFFFFF
##AC26871.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#5E6984
Tritanopia (blue-blind)
#B72854
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2687;
/* rgb */ color: rgb(172, 38, 135);
/* oklch */ color: oklch(51.8% 0.194 341.8);
Tailwind
colors: {
  custom: {
    50: '#c96faa',
    500: '#ac2687',
    950: '#000000',
  },
}
SCSS
$custom: #ac2687;
$custom-light: #c96faa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2687",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 316.567,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.19411,
    "h": 341.8
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#AC2687
secondary
#68C582
accent
#E76F41
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2687

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

Preview Lab → · Contrast checker → · Palette generator →

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