#AC307B#AC307B

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

Color values

HEX#AC307B
RGBrgb(172, 48, 123)
HSLhsl(324, 56%, 43%)
HSVhsv(324, 72%, 67%)
CMYKcmyk(0%, 72.1%, 28.5%, 32.5%)
CIE-LABlab(41.72, 56.57, -14.13)
CIE-LCHlch(41.72, 58.30, 345.98°)
OKLaboklab(52.08% 0.1721 -0.0372)
OKLCHoklch(52.08% 0.176 347.8)
XYZxyz(21.6464, 12.3170, 19.9725)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC307B #30AC61
analogous
#9F30AC #AC307B #AC303D
triadic
#AC307B #7BAC30 #307BAC
tetradic
#AC307B #AC9F30 #30AC61 #303DAC
square
#AC307B #AC9F30 #30AC61 #303DAC
split-complementary
#AC307B #3DAC30 #30AC9F
monochromatic
#4C1537 #7C2359 #AC307B #CD4C9A #DA7CB5

Accessibility & contrast

On white

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

On black

3.46
#AC307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC307B#FFFFFF#000000##FFFFFF
##AC307B1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557D
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#B82B51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac307b;
/* rgb */ color: rgb(172, 48, 123);
/* oklch */ color: oklch(52.1% 0.176 347.8);
Tailwind
colors: {
  custom: {
    50: '#c973a1',
    500: '#ac307b',
    950: '#000000',
  },
}
SCSS
$custom: #ac307b;
$custom-light: #c973a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac307b",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 323.71,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.17603,
    "h": 347.8
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#AC307B
secondary
#75C394
accent
#E08448
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC307B

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

Preview Lab → · Contrast checker → · Palette generator →

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