#AC308A#AC308A

#AC308A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 341.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC308A
RGBrgb(172, 48, 138)
HSLhsl(316, 56%, 43%)
HSVhsv(316, 72%, 67%)
CMYKcmyk(0%, 72.1%, 19.8%, 32.5%)
CIE-LABlab(42.34, 58.56, -22.37)
CIE-LCHlch(42.34, 62.69, 339.09°)
OKLaboklab(52.74% 0.1751 -0.0602)
OKLCHoklch(52.74% 0.185 341)
XYZxyz(22.6583, 12.7218, 25.3021)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC308A #30AC52
analogous
#9030AC #AC308A #AC304C
triadic
#AC308A #8AAC30 #308AAC
tetradic
#AC308A #AC9030 #30AC52 #304CAC
square
#AC308A #AC9030 #30AC52 #304CAC
split-complementary
#AC308A #4CAC30 #30AC90
monochromatic
#4C153D #7C2364 #AC308A #CD4CAA #DA7CC1

Accessibility & contrast

On white

5.93
#AC308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC308A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC308A#FFFFFF#000000##FFFFFF
##AC308A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578D
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#B63359
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac308a;
/* rgb */ color: rgb(172, 48, 138);
/* oklch */ color: oklch(52.7% 0.185 341.0);
Tailwind
colors: {
  custom: {
    50: '#c874ac',
    500: '#ac308a',
    950: '#000000',
  },
}
SCSS
$custom: #ac308a;
$custom-light: #c874ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac308a",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 316.452,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.18513,
    "h": 341
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#AC308A
secondary
#75C38A
accent
#E07248
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC308A

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

Preview Lab → · Contrast checker → · Palette generator →

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