#AC2887#AC2887

#AC2887 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.192 H 341.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC2887
RGBrgb(172, 40, 135)
HSLhsl(317, 62%, 42%)
HSVhsv(317, 77%, 67%)
CMYKcmyk(0%, 76.7%, 21.5%, 32.5%)
CIE-LABlab(41.28, 60.78, -22.18)
CIE-LCHlch(41.28, 64.70, 339.95°)
OKLaboklab(51.93% 0.1826 -0.0596)
OKLCHoklch(51.93% 0.192 341.9)
XYZxyz(22.1460, 12.0398, 24.0746)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2887 #28AC4D
analogous
#8F28AC #AC2887 #AC2845
triadic
#AC2887 #87AC28 #2887AC
tetradic
#AC2887 #AC8F28 #28AC4D #2845AC
square
#AC2887 #AC8F28 #28AC4D #2845AC
split-complementary
#AC2887 #45AC28 #28AC8F
monochromatic
#491139 #7A1C60 #AC2887 #D23FA9 #DE71BF

Accessibility & contrast

On white

6.16
#AC2887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2887
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2887#FFFFFF#000000##FFFFFF
##AC28871.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548A
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#B72A55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2887;
/* rgb */ color: rgb(172, 40, 135);
/* oklch */ color: oklch(51.9% 0.192 341.9);
Tailwind
colors: {
  custom: {
    50: '#c970aa',
    500: '#ac2887',
    950: '#000000',
  },
}
SCSS
$custom: #ac2887;
$custom-light: #c970aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2887",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 316.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.1921,
    "h": 341.9
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#AC2887
secondary
#6BC584
accent
#E57042
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2887

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

Preview Lab → · Contrast checker → · Palette generator →

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