#AC2B7A#AC2B7A

#AC2B7A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.181 H 347.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AC2B7A
RGBrgb(172, 43, 122)
HSLhsl(323, 60%, 42%)
HSVhsv(323, 75%, 67%)
CMYKcmyk(0%, 75%, 29.1%, 32.5%)
CIE-LABlab(41.07, 58.16, -14.50)
CIE-LCHlch(41.07, 59.94, 346.00°)
OKLaboklab(51.6% 0.1772 -0.0382)
OKLCHoklch(51.6% 0.181 347.8)
XYZxyz(21.3910, 11.9060, 19.5802)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B7A #2BAC5D
analogous
#9E2BAC #AC2B7A #AC2B39
triadic
#AC2B7A #7AAC2B #2B7AAC
tetradic
#AC2B7A #AC9E2B #2BAC5D #2B39AC
square
#AC2B7A #AC9E2B #2BAC5D #2B39AC
split-complementary
#AC2B7A #39AC2B #2BAC9E
monochromatic
#4A1335 #7B1F57 #AC2B7A #D0449A #DC75B4

Accessibility & contrast

On white

6.21
#AC2B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC2B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B7A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B7A#FFFFFF#000000##FFFFFF
##AC2B7A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B8254F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2b7a;
/* rgb */ color: rgb(172, 43, 122);
/* oklch */ color: oklch(51.6% 0.181 347.8);
Tailwind
colors: {
  custom: {
    50: '#c971a0',
    500: '#ac2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b7a;
$custom-light: #c971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b7a",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 323.256,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.18124,
    "h": 347.8
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#AC2B7A
secondary
#6FC490
accent
#E38245
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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