#AC2B87#AC2B87

#AC2B87 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.189 H 342.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC2B87
RGBrgb(172, 43, 135)
HSLhsl(317, 60%, 42%)
HSVhsv(317, 75%, 67%)
CMYKcmyk(0%, 75%, 21.5%, 32.5%)
CIE-LABlab(41.61, 59.84, -21.67)
CIE-LCHlch(41.61, 63.64, 340.09°)
OKLaboklab(52.17% 0.1797 -0.0582)
OKLCHoklch(52.17% 0.189 342.1)
XYZxyz(22.2511, 12.2500, 24.1096)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B87 #2BAC50
analogous
#902BAC #AC2B87 #AC2B47
triadic
#AC2B87 #87AC2B #2B87AC
tetradic
#AC2B87 #AC902B #2BAC50 #2B47AC
square
#AC2B87 #AC902B #2BAC50 #2B47AC
split-complementary
#AC2B87 #47AC2B #2BAC90
monochromatic
#4A133A #7B1F61 #AC2B87 #D044A8 #DC75BF

Accessibility & contrast

On white

6.09
#AC2B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B87
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B87#FFFFFF#000000##FFFFFF
##AC2B871.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375589
Deuteranopia (green-blind)
#606A84
Tritanopia (blue-blind)
#B72D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2b87;
/* rgb */ color: rgb(172, 43, 135);
/* oklch */ color: oklch(52.2% 0.189 342.1);
Tailwind
colors: {
  custom: {
    50: '#c971aa',
    500: '#ac2b87',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b87;
$custom-light: #c971aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b87",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 317.209,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.18891,
    "h": 342.1
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#AC2B87
secondary
#6FC487
accent
#E37245
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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