#AC2E8C#AC2E8C

#AC2E8C is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.189 H 340.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC2E8C
RGBrgb(172, 46, 140)
HSLhsl(315, 58%, 43%)
HSVhsv(315, 73%, 67%)
CMYKcmyk(0%, 73.3%, 18.6%, 32.5%)
CIE-LABlab(42.19, 59.53, -23.83)
CIE-LCHlch(42.19, 64.12, 338.18°)
OKLaboklab(52.66% 0.1775 -0.0643)
OKLCHoklch(52.66% 0.189 340.1)
XYZxyz(22.7245, 12.6203, 26.0450)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E8C #2EAC4E
analogous
#8D2EAC #AC2E8C #AC2E4D
triadic
#AC2E8C #8CAC2E #2E8CAC
tetradic
#AC2E8C #AC8D2E #2EAC4E #2E4DAC
square
#AC2E8C #AC8D2E #2EAC4E #2E4DAC
split-complementary
#AC2E8C #4DAC2E #2EAC8D
monochromatic
#4B143D #7C2165 #AC2E8C #CE49AC #DB79C2

Accessibility & contrast

On white

5.96
#AC2E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC2E8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E8C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E8C#FFFFFF#000000##FFFFFF
##AC2E8C1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#5F6B89
Tritanopia (blue-blind)
#B63259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2e8c;
/* rgb */ color: rgb(172, 46, 140);
/* oklch */ color: oklch(52.7% 0.189 340.1);
Tailwind
colors: {
  custom: {
    50: '#c873ae',
    500: '#ac2e8c',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e8c;
$custom-light: #c873ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e8c",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 315.238,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.18878,
    "h": 340.1
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#AC2E8C
secondary
#72C387
accent
#E16E47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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