#AC2E8D#AC2E8D

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

Color values

HEX#AC2E8D
RGBrgb(172, 46, 141)
HSLhsl(315, 58%, 43%)
HSVhsv(315, 73%, 67%)
CMYKcmyk(0%, 73.3%, 18%, 32.5%)
CIE-LABlab(42.23, 59.67, -24.37)
CIE-LCHlch(42.23, 64.45, 337.78°)
OKLaboklab(52.71% 0.1776 -0.0658)
OKLCHoklch(52.71% 0.189 339.7)
XYZxyz(22.7986, 12.6499, 26.4351)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E8D #2EAC4D
analogous
#8C2EAC #AC2E8D #AC2E4E
triadic
#AC2E8D #8DAC2E #2E8DAC
tetradic
#AC2E8D #AC8C2E #2EAC4D #2E4EAC
square
#AC2E8D #AC8C2E #2EAC4D #2E4EAC
split-complementary
#AC2E8D #4EAC2E #2EAC8C
monochromatic
#4B143E #7C2165 #AC2E8D #CE49AD #DB79C3

Accessibility & contrast

On white

5.95
#AC2E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC2E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E8D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E8D#FFFFFF#000000##FFFFFF
##AC2E8D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#B6325A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2e8d;
/* rgb */ color: rgb(172, 46, 141);
/* oklch */ color: oklch(52.7% 0.189 339.7);
Tailwind
colors: {
  custom: {
    50: '#c873ae',
    500: '#ac2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e8d;
$custom-light: #c873ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e8d",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 314.762,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.18944,
    "h": 339.7
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#AC2E8D
secondary
#72C386
accent
#E16D47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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