#AC307C#AC307C

#AC307C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.177 H 347.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC307C
RGBrgb(172, 48, 124)
HSLhsl(323, 56%, 43%)
HSVhsv(323, 72%, 67%)
CMYKcmyk(0%, 72.1%, 27.9%, 32.5%)
CIE-LABlab(41.75, 56.69, -14.68)
CIE-LCHlch(41.75, 58.56, 345.48°)
OKLaboklab(52.12% 0.1723 -0.0387)
OKLCHoklch(52.12% 0.177 347.3)
XYZxyz(21.7093, 12.3422, 20.3039)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC307C #30AC60
analogous
#9E30AC #AC307C #AC303E
triadic
#AC307C #7CAC30 #307CAC
tetradic
#AC307C #AC9E30 #30AC60 #303EAC
square
#AC307C #AC9E30 #30AC60 #303EAC
split-complementary
#AC307C #3EAC30 #30AC9E
monochromatic
#4C1537 #7C235A #AC307C #CD4C9B #DA7CB6

Accessibility & contrast

On white

6.06
#AC307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC307C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC307C#FFFFFF#000000##FFFFFF
##AC307C1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#B82C52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac307c;
/* rgb */ color: rgb(172, 48, 124);
/* oklch */ color: oklch(52.1% 0.177 347.3);
Tailwind
colors: {
  custom: {
    50: '#c973a2',
    500: '#ac307c',
    950: '#000000',
  },
}
SCSS
$custom: #ac307c;
$custom-light: #c973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac307c",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 323.226,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.17658,
    "h": 347.3
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#AC307C
secondary
#75C393
accent
#E08348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC307C

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

Preview Lab → · Contrast checker → · Palette generator →

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