#AC308D#AC308D

#AC308D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.187 H 339.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC308D
RGBrgb(172, 48, 141)
HSLhsl(315, 56%, 43%)
HSVhsv(315, 72%, 67%)
CMYKcmyk(0%, 72.1%, 18%, 32.5%)
CIE-LABlab(42.48, 58.98, -23.99)
CIE-LCHlch(42.48, 63.67, 337.87°)
OKLaboklab(52.88% 0.1756 -0.0648)
OKLCHoklch(52.88% 0.187 339.7)
XYZxyz(22.8785, 12.8098, 26.4618)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC308D #30AC4F
analogous
#8D30AC #AC308D #AC304F
triadic
#AC308D #8DAC30 #308DAC
tetradic
#AC308D #AC8D30 #30AC4F #304FAC
square
#AC308D #AC8D30 #30AC4F #304FAC
split-complementary
#AC308D #4FAC30 #30AC8D
monochromatic
#4C153F #7C2366 #AC308D #CD4CAD #DA7CC3

Accessibility & contrast

On white

5.90
#AC308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC308D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC308D#FFFFFF#000000##FFFFFF
##AC308D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#606B8A
Tritanopia (blue-blind)
#B6345A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac308d;
/* rgb */ color: rgb(172, 48, 141);
/* oklch */ color: oklch(52.9% 0.187 339.7);
Tailwind
colors: {
  custom: {
    50: '#c874ae',
    500: '#ac308d',
    950: '#000000',
  },
}
SCSS
$custom: #ac308d;
$custom-light: #c874ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac308d",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 315,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.18712,
    "h": 339.7
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#AC308D
secondary
#75C388
accent
#E06E48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC308D

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

Preview Lab → · Contrast checker → · Palette generator →

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