#AC308C#AC308C

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

Color values

HEX#AC308C
RGBrgb(172, 48, 140)
HSLhsl(315, 56%, 43%)
HSVhsv(315, 72%, 67%)
CMYKcmyk(0%, 72.1%, 18.6%, 32.5%)
CIE-LABlab(42.43, 58.84, -23.45)
CIE-LCHlch(42.43, 63.34, 338.27°)
OKLaboklab(52.84% 0.1754 -0.0633)
OKLCHoklch(52.84% 0.186 340.2)
XYZxyz(22.8045, 12.7802, 26.0717)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC308C #30AC50
analogous
#8E30AC #AC308C #AC304E
triadic
#AC308C #8CAC30 #308CAC
tetradic
#AC308C #AC8E30 #30AC50 #304EAC
square
#AC308C #AC8E30 #30AC50 #304EAC
split-complementary
#AC308C #4EAC30 #30AC8E
monochromatic
#4C153E #7C2365 #AC308C #CD4CAC #DA7CC2

Accessibility & contrast

On white

5.91
#AC308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC308C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC308C#FFFFFF#000000##FFFFFF
##AC308C1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#606B89
Tritanopia (blue-blind)
#B6345A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac308c;
/* rgb */ color: rgb(172, 48, 140);
/* oklch */ color: oklch(52.8% 0.186 340.2);
Tailwind
colors: {
  custom: {
    50: '#c874ae',
    500: '#ac308c',
    950: '#000000',
  },
}
SCSS
$custom: #ac308c;
$custom-light: #c874ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac308c",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 315.484,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.18645,
    "h": 340.2
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#AC308C
secondary
#75C389
accent
#E06F48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC308C

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

Preview Lab → · Contrast checker → · Palette generator →

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