#AC297F#AC297F

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

Color values

HEX#AC297F
RGBrgb(172, 41, 127)
HSLhsl(321, 62%, 42%)
HSVhsv(321, 76%, 67%)
CMYKcmyk(0%, 76.2%, 26.2%, 32.5%)
CIE-LABlab(41.04, 59.43, -17.62)
CIE-LCHlch(41.04, 61.99, 343.48°)
OKLaboklab(51.64% 0.1802 -0.0468)
OKLCHoklch(51.64% 0.186 345.4)
XYZxyz(21.6379, 11.8912, 21.2303)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC297F #29AC56
analogous
#9829AC #AC297F #AC293E
triadic
#AC297F #7FAC29 #297FAC
tetradic
#AC297F #AC9829 #29AC56 #293EAC
square
#AC297F #AC9829 #29AC56 #293EAC
split-complementary
#AC297F #3EAC29 #29AC98
monochromatic
#491136 #7B1D5B #AC297F #D241A0 #DD72B9

Accessibility & contrast

On white

6.22
#AC297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC297F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC297F#FFFFFF#000000##FFFFFF
##AC297F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5381
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#B82651
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac297f;
/* rgb */ color: rgb(172, 41, 127);
/* oklch */ color: oklch(51.6% 0.186 345.4);
Tailwind
colors: {
  custom: {
    50: '#c970a4',
    500: '#ac297f',
    950: '#000000',
  },
}
SCSS
$custom: #ac297f;
$custom-light: #c970a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac297f",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 320.611,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.18623,
    "h": 345.4
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#AC297F
secondary
#6CC58B
accent
#E57B43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC297F

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

Preview Lab → · Contrast checker → · Palette generator →

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