#AC2D8D#AC2D8D

#AC2D8D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.191 H 339.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC2D8D
RGBrgb(172, 45, 141)
HSLhsl(315, 59%, 43%)
HSVhsv(315, 74%, 67%)
CMYKcmyk(0%, 73.8%, 18%, 32.5%)
CIE-LABlab(42.11, 60.01, -24.55)
CIE-LCHlch(42.11, 64.84, 337.75°)
OKLaboklab(52.62% 0.1787 -0.0664)
OKLCHoklch(52.62% 0.191 339.6)
XYZxyz(22.7600, 12.5727, 26.4223)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D8D #2DAC4C
analogous
#8C2DAC #AC2D8D #AC2D4D
triadic
#AC2D8D #8DAC2D #2D8DAC
tetradic
#AC2D8D #AC8C2D #2DAC4C #2D4DAC
square
#AC2D8D #AC8C2D #2DAC4C #2D4DAC
split-complementary
#AC2D8D #4DAC2D #2DAC8C
monochromatic
#4B143D #7B2065 #AC2D8D #CF47AE #DC78C3

Accessibility & contrast

On white

5.98
#AC2D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2D8D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D8D#FFFFFF#000000##FFFFFF
##AC2D8D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#B63259
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2d8d;
/* rgb */ color: rgb(172, 45, 141);
/* oklch */ color: oklch(52.6% 0.191 339.6);
Tailwind
colors: {
  custom: {
    50: '#c972ae',
    500: '#ac2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d8d;
$custom-light: #c972ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d8d",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 314.646,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.19058,
    "h": 339.6
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#AC2D8D
secondary
#71C485
accent
#E26C46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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