#AC2871#AC2871

#AC2871 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.180 H 351.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AC2871
RGBrgb(172, 40, 113)
HSLhsl(327, 62%, 42%)
HSVhsv(327, 77%, 67%)
CMYKcmyk(0%, 76.7%, 34.3%, 32.5%)
CIE-LABlab(40.38, 58.06, -9.94)
CIE-LCHlch(40.38, 58.90, 350.29°)
OKLaboklab(50.98% 0.178 -0.0257)
OKLCHoklch(50.98% 0.18 351.8)
XYZxyz(20.7539, 11.4830, 16.7431)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2871 #28AC63
analogous
#A528AC #AC2871 #AC282F
triadic
#AC2871 #71AC28 #2871AC
tetradic
#AC2871 #ACA528 #28AC63 #282FAC
square
#AC2871 #ACA528 #28AC63 #282FAC
split-complementary
#AC2871 #2FAC28 #28ACA5
monochromatic
#491130 #7A1C50 #AC2871 #D23F90 #DE71AD

Accessibility & contrast

On white

6.37
#AC2871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AC2871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2871
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2871#FFFFFF#000000##FFFFFF
##AC28711.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#66686E
Tritanopia (blue-blind)
#B91C49
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2871;
/* rgb */ color: rgb(172, 40, 113);
/* oklch */ color: oklch(51.0% 0.180 351.8);
Tailwind
colors: {
  custom: {
    50: '#c96f99',
    500: '#ac2871',
    950: '#000000',
  },
}
SCSS
$custom: #ac2871;
$custom-light: #c96f99;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2871",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 326.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50984,
    "c": 0.1798,
    "h": 351.8
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#AC2871
secondary
#6BC593
accent
#E58B42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2871

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

Preview Lab → · Contrast checker → · Palette generator →

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