#AC2E7E#AC2E7E

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

Color values

HEX#AC2E7E
RGBrgb(172, 46, 126)
HSLhsl(322, 58%, 43%)
HSVhsv(322, 73%, 67%)
CMYKcmyk(0%, 73.3%, 26.7%, 32.5%)
CIE-LABlab(41.58, 57.65, -16.18)
CIE-LCHlch(41.58, 59.88, 344.32°)
OKLaboklab(52.03% 0.1749 -0.0428)
OKLCHoklch(52.03% 0.18 346.2)
XYZxyz(21.7571, 12.2334, 20.9501)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E7E #2EAC5C
analogous
#9B2EAC #AC2E7E #AC2E3F
triadic
#AC2E7E #7EAC2E #2E7EAC
tetradic
#AC2E7E #AC9B2E #2EAC5C #2E3FAC
square
#AC2E7E #AC9B2E #2EAC5C #2E3FAC
split-complementary
#AC2E7E #3FAC2E #2EAC9B
monochromatic
#4B1437 #7C215B #AC2E7E #CE499E #DB79B7

Accessibility & contrast

On white

6.09
#AC2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E7E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E7E#FFFFFF#000000##FFFFFF
##AC2E7E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2e7e;
/* rgb */ color: rgb(172, 46, 126);
/* oklch */ color: oklch(52.0% 0.180 346.2);
Tailwind
colors: {
  custom: {
    50: '#c972a3',
    500: '#ac2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e7e;
$custom-light: #c972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e7e",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 321.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.18009,
    "h": 346.2
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#AC2E7E
secondary
#72C390
accent
#E17F47
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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