#AC308E#AC308E

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

Color values

HEX#AC308E
RGBrgb(172, 48, 142)
HSLhsl(315, 56%, 43%)
HSVhsv(315, 72%, 67%)
CMYKcmyk(0%, 72.1%, 17.4%, 32.5%)
CIE-LABlab(42.52, 59.12, -24.53)
CIE-LCHlch(42.52, 64.01, 337.47°)
OKLaboklab(52.93% 0.1757 -0.0663)
OKLCHoklch(52.93% 0.188 339.3)
XYZxyz(22.9533, 12.8397, 26.8554)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC308E #30AC4E
analogous
#8C30AC #AC308E #AC3050
triadic
#AC308E #8EAC30 #308EAC
tetradic
#AC308E #AC8C30 #30AC4E #3050AC
square
#AC308E #AC8C30 #30AC4E #3050AC
split-complementary
#AC308E #50AC30 #30AC8C
monochromatic
#4C153F #7C2366 #AC308E #CD4CAE #DA7CC4

Accessibility & contrast

On white

5.89
#AC308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC308E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC308E#FFFFFF#000000##FFFFFF
##AC308E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#B6355B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac308e;
/* rgb */ color: rgb(172, 48, 142);
/* oklch */ color: oklch(52.9% 0.188 339.3);
Tailwind
colors: {
  custom: {
    50: '#c874af',
    500: '#ac308e',
    950: '#000000',
  },
}
SCSS
$custom: #ac308e;
$custom-light: #c874af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac308e",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 314.516,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.18779,
    "h": 339.3
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC308E

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

Preview Lab → · Contrast checker → · Palette generator →

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