#AC297B#AC297B

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

Color values

HEX#AC297B
RGBrgb(172, 41, 123)
HSLhsl(322, 62%, 42%)
HSVhsv(322, 76%, 67%)
CMYKcmyk(0%, 76.2%, 28.5%, 32.5%)
CIE-LABlab(40.88, 58.93, -15.40)
CIE-LCHlch(40.88, 60.91, 345.35°)
OKLaboklab(51.47% 0.1794 -0.0407)
OKLCHoklch(51.47% 0.184 347.2)
XYZxyz(21.3824, 11.7890, 19.8845)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC297B #29AC5A
analogous
#9C29AC #AC297B #AC293A
triadic
#AC297B #7BAC29 #297BAC
tetradic
#AC297B #AC9C29 #29AC5A #293AAC
square
#AC297B #AC9C29 #29AC5A #293AAC
split-complementary
#AC297B #3AAC29 #29AC9C
monochromatic
#491134 #7B1D58 #AC297B #D2419B #DD72B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC297B#FFFFFF#000000##FFFFFF
##AC297B1.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)
#3C527D
Deuteranopia (green-blind)
#636978
Tritanopia (blue-blind)
#B8244F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac297b;
/* rgb */ color: rgb(172, 41, 123);
/* oklch */ color: oklch(51.5% 0.184 347.2);
Tailwind
colors: {
  custom: {
    50: '#c970a1',
    500: '#ac297b',
    950: '#000000',
  },
}
SCSS
$custom: #ac297b;
$custom-light: #c970a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac297b",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 322.443,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.18395,
    "h": 347.2
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC297B

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

Preview Lab → · Contrast checker → · Palette generator →

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