#AC3271#AC3271

#AC3271 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.168 H 352.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC3271
RGBrgb(172, 50, 113)
HSLhsl(329, 55%, 44%)
HSVhsv(329, 71%, 67%)
CMYKcmyk(0%, 70.9%, 34.3%, 32.5%)
CIE-LABlab(41.61, 54.62, -8.10)
CIE-LCHlch(41.61, 55.22, 351.56°)
OKLaboklab(51.88% 0.1671 -0.0208)
OKLCHoklch(51.88% 0.168 352.9)
XYZxyz(21.1357, 12.2466, 16.8704)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3271 #32AC6D
analogous
#AA32AC #AC3271 #AC3234
triadic
#AC3271 #71AC32 #3271AC
tetradic
#AC3271 #ACAA32 #32AC6D #3234AC
square
#AC3271 #ACAA32 #32AC6D #3234AC
split-complementary
#AC3271 #34AC32 #32ACAA
monochromatic
#4D1633 #7D2452 #AC3271 #CC4F90 #DA7FAE

Accessibility & contrast

On white

6.09
#AC3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3271
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3271#FFFFFF#000000##FFFFFF
##AC32711.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#B9294D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac3271;
/* rgb */ color: rgb(172, 50, 113);
/* oklch */ color: oklch(51.9% 0.168 352.9);
Tailwind
colors: {
  custom: {
    50: '#c97499',
    500: '#ac3271',
    950: '#000000',
  },
}
SCSS
$custom: #ac3271;
$custom-light: #c97499;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3271",
  "rgb": {
    "r": 172,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 329.016,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51879,
    "c": 0.16841,
    "h": 352.9
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#AC3271
secondary
#77C39C
accent
#DE914A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC3271

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

Preview Lab → · Contrast checker → · Palette generator →

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