#AC2795#AC2795

#AC2795 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.5% C 0.202 H 336.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AC2795
RGBrgb(172, 39, 149)
HSLhsl(310, 63%, 41%)
HSVhsv(310, 77%, 67%)
CMYKcmyk(0%, 77.3%, 13.4%, 32.5%)
CIE-LABlab(41.84, 63.03, -29.85)
CIE-LCHlch(41.84, 69.74, 334.66°)
OKLaboklab(52.54% 0.1852 -0.0814)
OKLCHoklch(52.54% 0.202 336.3)
XYZxyz(23.1640, 12.3938, 29.6002)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2795 #27AC3E
analogous
#8127AC #AC2795 #AC2753
triadic
#AC2795 #95AC27 #2795AC
tetradic
#AC2795 #AC8127 #27AC3E #2753AC
square
#AC2795 #AC8127 #27AC3E #2753AC
split-complementary
#AC2795 #53AC27 #27AC81
monochromatic
#48103F #7A1C6A #AC2795 #D33DB9 #DE6FCB

Accessibility & contrast

On white

6.04
#AC2795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC2795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2795
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2795#FFFFFF#000000##FFFFFF
##AC27951.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#596A92
Tritanopia (blue-blind)
#B5315C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2795;
/* rgb */ color: rgb(172, 39, 149);
/* oklch */ color: oklch(52.5% 0.202 336.3);
Tailwind
colors: {
  custom: {
    50: '#c970b4',
    500: '#ac2795',
    950: '#000000',
  },
}
SCSS
$custom: #ac2795;
$custom-light: #c970b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2795",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 310.376,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.20229,
    "h": 336.3
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#AC2795
secondary
#6AC57A
accent
#E65E42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2795

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

Preview Lab → · Contrast checker → · Palette generator →

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