#AC428E#AC428E

#AC428E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.164 H 340.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AC428E
RGBrgb(172, 66, 142)
HSLhsl(317, 45%, 47%)
HSVhsv(317, 62%, 67%)
CMYKcmyk(0%, 61.6%, 17.4%, 32.5%)
CIE-LABlab(45.11, 51.93, -20.52)
CIE-LCHlch(45.11, 55.84, 338.44°)
OKLaboklab(54.82% 0.1541 -0.0551)
OKLCHoklch(54.82% 0.164 340.3)
XYZxyz(23.8445, 14.6222, 27.1525)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC428E #42AC60
analogous
#9542AC #AC428E #AC4259
triadic
#AC428E #8EAC42 #428EAC
tetradic
#AC428E #AC9542 #42AC60 #4259AC
square
#AC428E #AC9542 #42AC60 #4259AC
split-complementary
#AC428E #59AC42 #42AC95
monochromatic
#542045 #803169 #AC428E #C567AA #D693C3

Accessibility & contrast

On white

5.35
#AC428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AC428E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC428E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC428E#FFFFFF#000000##FFFFFF
##AC428E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#B64462
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac428e;
/* rgb */ color: rgb(172, 66, 142);
/* oklch */ color: oklch(54.8% 0.164 340.3);
Tailwind
colors: {
  custom: {
    50: '#c87daf',
    500: '#ac428e',
    950: '#000000',
  },
}
SCSS
$custom: #ac428e;
$custom-light: #c87daf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac428e",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 316.981,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.16363,
    "h": 340.3
  },
  "luminance": 0.1462
}

Semantic roles & 50–950 ramp

primary
#AC428E
secondary
#89C199
accent
#D47854
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AC428E

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

Preview Lab → · Contrast checker → · Palette generator →

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