#AC427C#AC427C

#AC427C is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.152 H 349.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AC427C
RGBrgb(172, 66, 124)
HSLhsl(327, 45%, 47%)
HSVhsv(327, 62%, 67%)
CMYKcmyk(0%, 61.6%, 27.9%, 32.5%)
CIE-LABlab(44.41, 49.37, -10.66)
CIE-LCHlch(44.41, 50.51, 347.82°)
OKLaboklab(54.08% 0.1496 -0.0278)
OKLCHoklch(54.08% 0.152 349.5)
XYZxyz(22.6005, 14.1246, 20.6009)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC427C #42AC72
analogous
#A742AC #AC427C #AC4247
triadic
#AC427C #7CAC42 #427CAC
tetradic
#AC427C #ACA742 #42AC72 #4247AC
square
#AC427C #ACA742 #42AC72 #4247AC
split-complementary
#AC427C #47AC42 #42ACA7
monochromatic
#54203C #80315C #AC427C #C5679A #D693B7

Accessibility & contrast

On white

5.49
#AC427C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AC427C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC427C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC427C#FFFFFF#000000##FFFFFF
##AC427C1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#6D7079
Tritanopia (blue-blind)
#B83E59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac427c;
/* rgb */ color: rgb(172, 66, 124);
/* oklch */ color: oklch(54.1% 0.152 349.5);
Tailwind
colors: {
  custom: {
    50: '#c87ca2',
    500: '#ac427c',
    950: '#000000',
  },
}
SCSS
$custom: #ac427c;
$custom-light: #c87ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac427c",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 327.17,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.1522,
    "h": 349.5
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#AC427C
secondary
#89C1A2
accent
#D48E54
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AC427C

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

Preview Lab → · Contrast checker → · Palette generator →

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