#AC2E88#AC2E88

#AC2E88 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.186 H 341.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AC2E88
RGBrgb(172, 46, 136)
HSLhsl(317, 58%, 43%)
HSVhsv(317, 73%, 67%)
CMYKcmyk(0%, 73.3%, 20.9%, 32.5%)
CIE-LABlab(42.01, 58.97, -21.67)
CIE-LCHlch(42.01, 62.83, 339.83°)
OKLaboklab(52.47% 0.1769 -0.0582)
OKLCHoklch(52.47% 0.186 341.8)
XYZxyz(22.4349, 12.5045, 24.5199)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E88 #2EAC52
analogous
#912EAC #AC2E88 #AC2E49
triadic
#AC2E88 #88AC2E #2E88AC
tetradic
#AC2E88 #AC912E #2EAC52 #2E49AC
square
#AC2E88 #AC912E #2EAC52 #2E49AC
split-complementary
#AC2E88 #49AC2E #2EAC91
monochromatic
#4B143C #7C2162 #AC2E88 #CE49A8 #DB79BF

Accessibility & contrast

On white

6.00
#AC2E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC2E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E88
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E88#FFFFFF#000000##FFFFFF
##AC2E881.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568A
Deuteranopia (green-blind)
#616B85
Tritanopia (blue-blind)
#B73057
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2e88;
/* rgb */ color: rgb(172, 46, 136);
/* oklch */ color: oklch(52.5% 0.186 341.8);
Tailwind
colors: {
  custom: {
    50: '#c973ab',
    500: '#ac2e88',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e88;
$custom-light: #c973ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e88",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 317.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.18618,
    "h": 341.8
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#AC2E88
secondary
#72C38A
accent
#E17347
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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