#AC2D8B#AC2D8B

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

Color values

HEX#AC2D8B
RGBrgb(172, 45, 139)
HSLhsl(316, 59%, 43%)
HSVhsv(316, 74%, 67%)
CMYKcmyk(0%, 73.8%, 19.2%, 32.5%)
CIE-LABlab(42.02, 59.73, -23.48)
CIE-LCHlch(42.02, 64.18, 338.54°)
OKLaboklab(52.52% 0.1784 -0.0633)
OKLCHoklch(52.52% 0.189 340.5)
XYZxyz(22.6125, 12.5137, 25.6456)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D8B #2DAC4E
analogous
#8E2DAC #AC2D8B #AC2D4B
triadic
#AC2D8B #8BAC2D #2D8BAC
tetradic
#AC2D8B #AC8E2D #2DAC4E #2D4BAC
square
#AC2D8B #AC8E2D #2DAC4E #2D4BAC
split-complementary
#AC2D8B #4BAC2D #2DAC8E
monochromatic
#4B143D #7B2064 #AC2D8B #CF47AC #DC78C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2D8B#FFFFFF#000000##FFFFFF
##AC2D8B1.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)
#37568E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#B63158
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2d8b;
/* rgb */ color: rgb(172, 45, 139);
/* oklch */ color: oklch(52.5% 0.189 340.5);
Tailwind
colors: {
  custom: {
    50: '#c972ad',
    500: '#ac2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d8b;
$custom-light: #c972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d8b",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 315.591,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.18926,
    "h": 340.5
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#AC2D8B
secondary
#71C487
accent
#E26F46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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