#AC297E#AC297E

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

Color values

HEX#AC297E
RGBrgb(172, 41, 126)
HSLhsl(321, 62%, 42%)
HSVhsv(321, 76%, 67%)
CMYKcmyk(0%, 76.2%, 26.7%, 32.5%)
CIE-LABlab(41.00, 59.30, -17.07)
CIE-LCHlch(41.00, 61.71, 343.94°)
OKLaboklab(51.6% 0.18 -0.0453)
OKLCHoklch(51.6% 0.186 345.9)
XYZxyz(21.5731, 11.8653, 20.8887)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC297E #29AC57
analogous
#9929AC #AC297E #AC293D
triadic
#AC297E #7EAC29 #297EAC
tetradic
#AC297E #AC9929 #29AC57 #293DAC
square
#AC297E #AC9929 #29AC57 #293DAC
split-complementary
#AC297E #3DAC29 #29AC99
monochromatic
#491136 #7B1D5A #AC297E #D2419F #DD72B8

Accessibility & contrast

On white

6.23
#AC297E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC297E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC297E#FFFFFF#000000##FFFFFF
##AC297E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#62697B
Tritanopia (blue-blind)
#B82650
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac297e;
/* rgb */ color: rgb(172, 41, 126);
/* oklch */ color: oklch(51.6% 0.186 345.9);
Tailwind
colors: {
  custom: {
    50: '#c970a3',
    500: '#ac297e',
    950: '#000000',
  },
}
SCSS
$custom: #ac297e;
$custom-light: #c970a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac297e",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 321.069,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.18565,
    "h": 345.9
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#AC297E
secondary
#6CC58B
accent
#E57C43
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC297E

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

Preview Lab → · Contrast checker → · Palette generator →

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