#AC2E95#AC2E95

#AC2E95 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.195 H 336.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC2E95
RGBrgb(172, 46, 149)
HSLhsl(311, 58%, 43%)
HSVhsv(311, 73%, 67%)
CMYKcmyk(0%, 73.3%, 13.4%, 32.5%)
CIE-LABlab(42.61, 60.83, -28.64)
CIE-LCHlch(42.61, 67.23, 334.79°)
OKLaboklab(53.1% 0.1786 -0.078)
OKLCHoklch(53.1% 0.195 336.4)
XYZxyz(23.4155, 12.8967, 29.6840)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E95 #2EAC45
analogous
#842EAC #AC2E95 #AC2E56
triadic
#AC2E95 #95AC2E #2E95AC
tetradic
#AC2E95 #AC842E #2EAC45 #2E56AC
square
#AC2E95 #AC842E #2EAC45 #2E56AC
split-complementary
#AC2E95 #56AC2E #2EAC84
monochromatic
#4B1441 #7C216B #AC2E95 #CE49B6 #DB79C9

Accessibility & contrast

On white

5.87
#AC2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E95
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E95#FFFFFF#000000##FFFFFF
##AC2E951.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#B5365E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2e95;
/* rgb */ color: rgb(172, 46, 149);
/* oklch */ color: oklch(53.1% 0.195 336.4);
Tailwind
colors: {
  custom: {
    50: '#c873b4',
    500: '#ac2e95',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e95;
$custom-light: #c873b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e95",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 310.952,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.19491,
    "h": 336.4
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#AC2E95
secondary
#72C381
accent
#E16347
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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