#AC2D7E#AC2D7E

#AC2D7E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.181 H 346.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AC2D7E
RGBrgb(172, 45, 126)
HSLhsl(322, 59%, 43%)
HSVhsv(322, 74%, 67%)
CMYKcmyk(0%, 73.8%, 26.7%, 32.5%)
CIE-LABlab(41.46, 57.99, -16.36)
CIE-LCHlch(41.46, 60.26, 344.24°)
OKLaboklab(51.94% 0.176 -0.0434)
OKLCHoklch(51.94% 0.181 346.2)
XYZxyz(21.7185, 12.1561, 20.9372)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D7E #2DAC5B
analogous
#9A2DAC #AC2D7E #AC2D3F
triadic
#AC2D7E #7EAC2D #2D7EAC
tetradic
#AC2D7E #AC9A2D #2DAC5B #2D3FAC
square
#AC2D7E #AC9A2D #2DAC5B #2D3FAC
split-complementary
#AC2D7E #3FAC2D #2DAC9A
monochromatic
#4B1437 #7B205A #AC2D7E #CF479E #DC78B7

Accessibility & contrast

On white

6.12
#AC2D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC2D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D7E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D7E#FFFFFF#000000##FFFFFF
##AC2D7E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B82A52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2d7e;
/* rgb */ color: rgb(172, 45, 126);
/* oklch */ color: oklch(51.9% 0.181 346.2);
Tailwind
colors: {
  custom: {
    50: '#c972a3',
    500: '#ac2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d7e;
$custom-light: #c972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d7e",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 321.732,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51937,
    "c": 0.18124,
    "h": 346.2
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#AC2D7E
secondary
#71C48F
accent
#E27E46
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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