#AC3F8A#AC3F8A

#AC3F8A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.165 H 342.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AC3F8A
RGBrgb(172, 63, 138)
HSLhsl(319, 46%, 46%)
HSVhsv(319, 63%, 67%)
CMYKcmyk(0%, 63.4%, 19.8%, 32.5%)
CIE-LABlab(44.47, 52.65, -19.10)
CIE-LCHlch(44.47, 56.01, 340.06°)
OKLaboklab(54.29% 0.1572 -0.0511)
OKLCHoklch(54.29% 0.165 342)
XYZxyz(23.3788, 14.1628, 25.5422)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3F8A #3FAC61
analogous
#973FAC #AC3F8A #AC3F53
triadic
#AC3F8A #8AAC3F #3F8AAC
tetradic
#AC3F8A #AC973F #3FAC61 #3F53AC
square
#AC3F8A #AC973F #3FAC61 #3F53AC
split-complementary
#AC3F8A #53AC3F #3FAC97
monochromatic
#521E42 #7F2F66 #AC3F8A #C663A7 #D68FC0

Accessibility & contrast

On white

5.48
#AC3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AC3F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3F8A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3F8A#FFFFFF#000000##FFFFFF
##AC3F8A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#677087
Tritanopia (blue-blind)
#B6405F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac3f8a;
/* rgb */ color: rgb(172, 63, 138);
/* oklch */ color: oklch(54.3% 0.165 342.0);
Tailwind
colors: {
  custom: {
    50: '#c87bac',
    500: '#ac3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ac3f8a;
$custom-light: #c87bac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3f8a",
  "rgb": {
    "r": 172,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 318.716,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.16528,
    "h": 342
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#AC3F8A
secondary
#86C198
accent
#D67B52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AC3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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