#AC308F#AC308F

#AC308F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.188 H 338.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC308F
RGBrgb(172, 48, 143)
HSLhsl(314, 56%, 43%)
HSVhsv(314, 72%, 67%)
CMYKcmyk(0%, 72.1%, 16.9%, 32.5%)
CIE-LABlab(42.57, 59.27, -25.06)
CIE-LCHlch(42.57, 64.35, 337.08°)
OKLaboklab(52.98% 0.1758 -0.0678)
OKLCHoklch(52.98% 0.188 338.9)
XYZxyz(23.0287, 12.8699, 27.2526)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC308F #30AC4D
analogous
#8B30AC #AC308F #AC3051
triadic
#AC308F #8FAC30 #308FAC
tetradic
#AC308F #AC8B30 #30AC4D #3051AC
square
#AC308F #AC8B30 #30AC4D #3051AC
split-complementary
#AC308F #51AC30 #30AC8B
monochromatic
#4C153F #7C2367 #AC308F #CD4CAF #DA7CC4

Accessibility & contrast

On white

5.88
#AC308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC308F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC308F#FFFFFF#000000##FFFFFF
##AC308F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375892
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#B6355C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac308f;
/* rgb */ color: rgb(172, 48, 143);
/* oklch */ color: oklch(53.0% 0.188 338.9);
Tailwind
colors: {
  custom: {
    50: '#c874b0',
    500: '#ac308f',
    950: '#000000',
  },
}
SCSS
$custom: #ac308f;
$custom-light: #c874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac308f",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 314.032,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.18847,
    "h": 338.9
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#AC308F
secondary
#75C387
accent
#E06C48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC308F

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

Preview Lab → · Contrast checker → · Palette generator →

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