#AC297A#AC297A

#AC297A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.183 H 347.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC297A
RGBrgb(172, 41, 122)
HSLhsl(323, 62%, 42%)
HSVhsv(323, 76%, 67%)
CMYKcmyk(0%, 76.2%, 29.1%, 32.5%)
CIE-LABlab(40.84, 58.80, -14.85)
CIE-LCHlch(40.84, 60.65, 345.83°)
OKLaboklab(51.43% 0.1792 -0.0391)
OKLCHoklch(51.43% 0.183 347.7)
XYZxyz(21.3201, 11.7641, 19.5565)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC297A #29AC5B
analogous
#9D29AC #AC297A #AC2939
triadic
#AC297A #7AAC29 #297AAC
tetradic
#AC297A #AC9D29 #29AC5B #2939AC
square
#AC297A #AC9D29 #29AC5B #2939AC
split-complementary
#AC297A #39AC29 #29AC9D
monochromatic
#491134 #7B1D57 #AC297A #D2419A #DD72B4

Accessibility & contrast

On white

6.26
#AC297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AC297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC297A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC297A#FFFFFF#000000##FFFFFF
##AC297A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#646877
Tritanopia (blue-blind)
#B8234E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac297a;
/* rgb */ color: rgb(172, 41, 122);
/* oklch */ color: oklch(51.4% 0.183 347.7);
Tailwind
colors: {
  custom: {
    50: '#c970a0',
    500: '#ac297a',
    950: '#000000',
  },
}
SCSS
$custom: #ac297a;
$custom-light: #c970a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac297a",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 322.901,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.1834,
    "h": 347.7
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#AC297A
secondary
#6CC58E
accent
#E58143
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC297A

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

Preview Lab → · Contrast checker → · Palette generator →

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