#AC297C#AC297C

#AC297C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.185 H 346.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AC297C
RGBrgb(172, 41, 124)
HSLhsl(322, 62%, 42%)
HSVhsv(322, 76%, 67%)
CMYKcmyk(0%, 76.2%, 27.9%, 32.5%)
CIE-LABlab(40.92, 59.05, -15.96)
CIE-LCHlch(40.92, 61.17, 344.88°)
OKLaboklab(51.51% 0.1796 -0.0422)
OKLCHoklch(51.51% 0.185 346.8)
XYZxyz(21.4453, 11.8142, 20.2159)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC297C #29AC59
analogous
#9B29AC #AC297C #AC293B
triadic
#AC297C #7CAC29 #297CAC
tetradic
#AC297C #AC9B29 #29AC59 #293BAC
square
#AC297C #AC9B29 #29AC59 #293BAC
split-complementary
#AC297C #3BAC29 #29AC9B
monochromatic
#491135 #7B1D58 #AC297C #D2419C #DD72B6

Accessibility & contrast

On white

6.25
#AC297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AC297C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC297C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC297C#FFFFFF#000000##FFFFFF
##AC297C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#636979
Tritanopia (blue-blind)
#B8244F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac297c;
/* rgb */ color: rgb(172, 41, 124);
/* oklch */ color: oklch(51.5% 0.185 346.8);
Tailwind
colors: {
  custom: {
    50: '#c970a2',
    500: '#ac297c',
    950: '#000000',
  },
}
SCSS
$custom: #ac297c;
$custom-light: #c970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac297c",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 321.985,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.18451,
    "h": 346.8
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#AC297C
secondary
#6CC58D
accent
#E57E43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AC297C

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

Preview Lab → · Contrast checker → · Palette generator →

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