#AC307D#AC307D

#AC307D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.177 H 346.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AC307D
RGBrgb(172, 48, 125)
HSLhsl(323, 56%, 43%)
HSVhsv(323, 72%, 67%)
CMYKcmyk(0%, 72.1%, 27.3%, 32.5%)
CIE-LABlab(41.79, 56.82, -15.24)
CIE-LCHlch(41.79, 58.83, 344.99°)
OKLaboklab(52.16% 0.1725 -0.0403)
OKLCHoklch(52.16% 0.177 346.9)
XYZxyz(21.7729, 12.3676, 20.6386)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC307D #30AC5F
analogous
#9D30AC #AC307D #AC303F
triadic
#AC307D #7DAC30 #307DAC
tetradic
#AC307D #AC9D30 #30AC5F #303FAC
square
#AC307D #AC9D30 #30AC5F #303FAC
split-complementary
#AC307D #3FAC30 #30AC9D
monochromatic
#4C1537 #7C235A #AC307D #CD4C9C #DA7CB7

Accessibility & contrast

On white

6.05
#AC307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC307D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC307D#FFFFFF#000000##FFFFFF
##AC307D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#656A7A
Tritanopia (blue-blind)
#B82C52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac307d;
/* rgb */ color: rgb(172, 48, 125);
/* oklch */ color: oklch(52.2% 0.177 346.9);
Tailwind
colors: {
  custom: {
    50: '#c973a2',
    500: '#ac307d',
    950: '#000000',
  },
}
SCSS
$custom: #ac307d;
$custom-light: #c973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac307d",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 322.742,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.17715,
    "h": 346.9
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#AC307D
secondary
#75C392
accent
#E08248
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC307D

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

Preview Lab → · Contrast checker → · Palette generator →

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