#AC308B#AC308B

#AC308B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.186 H 340.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC308B
RGBrgb(172, 48, 139)
HSLhsl(316, 56%, 43%)
HSVhsv(316, 72%, 67%)
CMYKcmyk(0%, 72.1%, 19.2%, 32.5%)
CIE-LABlab(42.39, 58.70, -22.91)
CIE-LCHlch(42.39, 63.01, 338.68°)
OKLaboklab(52.79% 0.1752 -0.0617)
OKLCHoklch(52.79% 0.186 340.6)
XYZxyz(22.7311, 12.7509, 25.6851)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC308B #30AC51
analogous
#8F30AC #AC308B #AC304D
triadic
#AC308B #8BAC30 #308BAC
tetradic
#AC308B #AC8F30 #30AC51 #304DAC
square
#AC308B #AC8F30 #30AC51 #304DAC
split-complementary
#AC308B #4DAC30 #30AC8F
monochromatic
#4C153E #7C2364 #AC308B #CD4CAB #DA7CC1

Accessibility & contrast

On white

5.92
#AC308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC308B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC308B#FFFFFF#000000##FFFFFF
##AC308B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578E
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#B63359
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac308b;
/* rgb */ color: rgb(172, 48, 139);
/* oklch */ color: oklch(52.8% 0.186 340.6);
Tailwind
colors: {
  custom: {
    50: '#c874ad',
    500: '#ac308b',
    950: '#000000',
  },
}
SCSS
$custom: #ac308b;
$custom-light: #c874ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac308b",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 315.968,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.18579,
    "h": 340.6
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC308B

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

Preview Lab → · Contrast checker → · Palette generator →

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