#AC2E89#AC2E89

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

Color values

HEX#AC2E89
RGBrgb(172, 46, 137)
HSLhsl(317, 58%, 43%)
HSVhsv(317, 73%, 67%)
CMYKcmyk(0%, 73.3%, 20.3%, 32.5%)
CIE-LABlab(42.05, 59.11, -22.21)
CIE-LCHlch(42.05, 63.15, 339.41°)
OKLaboklab(52.52% 0.177 -0.0597)
OKLCHoklch(52.52% 0.187 341.4)
XYZxyz(22.5063, 12.5330, 24.8959)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E89 #2EAC51
analogous
#902EAC #AC2E89 #AC2E4A
triadic
#AC2E89 #89AC2E #2E89AC
tetradic
#AC2E89 #AC902E #2EAC51 #2E4AAC
square
#AC2E89 #AC902E #2EAC51 #2E4AAC
split-complementary
#AC2E89 #4AAC2E #2EAC90
monochromatic
#4B143C #7C2163 #AC2E89 #CE49A9 #DB79C0

Accessibility & contrast

On white

5.99
#AC2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC2E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E89
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E89#FFFFFF#000000##FFFFFF
##AC2E891.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568C
Deuteranopia (green-blind)
#606B86
Tritanopia (blue-blind)
#B73058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2e89;
/* rgb */ color: rgb(172, 46, 137);
/* oklch */ color: oklch(52.5% 0.187 341.4);
Tailwind
colors: {
  custom: {
    50: '#c973ab',
    500: '#ac2e89',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e89;
$custom-light: #c973ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e89",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 316.667,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52517,
    "c": 0.18683,
    "h": 341.4
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#AC2E89
secondary
#72C389
accent
#E17247
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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