#AC3871#AC3871

#AC3871 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.161 H 353.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC3871
RGBrgb(172, 56, 113)
HSLhsl(331, 51%, 45%)
HSVhsv(331, 67%, 67%)
CMYKcmyk(0%, 67.4%, 34.3%, 32.5%)
CIE-LABlab(42.45, 52.28, -6.84)
CIE-LCHlch(42.45, 52.72, 352.55°)
OKLaboklab(52.5% 0.1598 -0.0174)
OKLCHoklch(52.5% 0.161 353.8)
XYZxyz(21.4093, 12.7937, 16.9615)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3871 #38AC73
analogous
#AC38AB #AC3871 #AC3938
triadic
#AC3871 #71AC38 #3871AC
tetradic
#AC3871 #ABAC38 #38AC73 #3938AC
square
#AC3871 #ABAC38 #38AC73 #3938AC
split-complementary
#AC3871 #38AC39 #38ABAC
monochromatic
#501A34 #7E2953 #AC3871 #C95890 #D887AF

Accessibility & contrast

On white

5.90
#AC3871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC3871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3871
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3871#FFFFFF#000000##FFFFFF
##AC38711.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#B92F50
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac3871;
/* rgb */ color: rgb(172, 56, 113);
/* oklch */ color: oklch(52.5% 0.161 353.8);
Tailwind
colors: {
  custom: {
    50: '#c97799',
    500: '#ac3871',
    950: '#000000',
  },
}
SCSS
$custom: #ac3871;
$custom-light: #c97799;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3871",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 330.517,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.16072,
    "h": 353.8
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#AC3871
secondary
#7EC2A0
accent
#DA954D
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC3871

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

Preview Lab → · Contrast checker → · Palette generator →

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