#AC4871#AC4871

#AC4871 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.138 H 357.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AC4871
RGBrgb(172, 72, 113)
HSLhsl(335, 41%, 48%)
HSVhsv(335, 58%, 67%)
CMYKcmyk(0%, 58.1%, 34.3%, 32.5%)
CIE-LABlab(45.08, 45.16, -2.93)
CIE-LCHlch(45.08, 45.26, 356.28°)
OKLaboklab(54.45% 0.1375 -0.0071)
OKLCHoklch(54.45% 0.138 357)
XYZxyz(22.3124, 14.5999, 17.2626)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4871 #48AC83
analogous
#AC48A3 #AC4871 #AC5148
triadic
#AC4871 #71AC48 #4871AC
tetradic
#AC4871 #A3AC48 #48AC83 #5148AC
square
#AC4871 #A3AC48 #48AC83 #5148AC
split-complementary
#AC4871 #48AC51 #48A3AC
monochromatic
#562438 #813655 #AC4871 #C36F91 #D59AB2

Accessibility & contrast

On white

5.36
#AC4871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AC4871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4871
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4871#FFFFFF#000000##FFFFFF
##AC48711.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#72726F
Tritanopia (blue-blind)
#B94158
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac4871;
/* rgb */ color: rgb(172, 72, 113);
/* oklch */ color: oklch(54.5% 0.138 357.0);
Tailwind
colors: {
  custom: {
    50: '#c87f99',
    500: '#ac4871',
    950: '#000000',
  },
}
SCSS
$custom: #ac4871;
$custom-light: #c87f99;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4871",
  "rgb": {
    "r": 172,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 335.4,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.13772,
    "h": 357
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#AC4871
secondary
#8FC1AC
accent
#D19F57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AC4871

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

Preview Lab → · Contrast checker → · Palette generator →

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