#AC297D#AC297D

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

Color values

HEX#AC297D
RGBrgb(172, 41, 125)
HSLhsl(322, 62%, 42%)
HSVhsv(322, 76%, 67%)
CMYKcmyk(0%, 76.2%, 27.3%, 32.5%)
CIE-LABlab(40.96, 59.18, -16.52)
CIE-LCHlch(40.96, 61.44, 344.41°)
OKLaboklab(51.56% 0.1798 -0.0438)
OKLCHoklch(51.56% 0.185 346.3)
XYZxyz(21.5089, 11.8396, 20.5506)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC297D #29AC58
analogous
#9A29AC #AC297D #AC293C
triadic
#AC297D #7DAC29 #297DAC
tetradic
#AC297D #AC9A29 #29AC58 #293CAC
square
#AC297D #AC9A29 #29AC58 #293CAC
split-complementary
#AC297D #3CAC29 #29AC9A
monochromatic
#491135 #7B1D59 #AC297D #D2419E #DD72B7

Accessibility & contrast

On white

6.24
#AC297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC297D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC297D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC297D#FFFFFF#000000##FFFFFF
##AC297D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B82550
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac297d;
/* rgb */ color: rgb(172, 41, 125);
/* oklch */ color: oklch(51.6% 0.185 346.3);
Tailwind
colors: {
  custom: {
    50: '#c970a2',
    500: '#ac297d',
    950: '#000000',
  },
}
SCSS
$custom: #ac297d;
$custom-light: #c970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac297d",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 321.527,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.18508,
    "h": 346.3
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#AC297D
secondary
#6CC58C
accent
#E57D43
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC297D

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

Preview Lab → · Contrast checker → · Palette generator →

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