#AC4271#AC4271

#AC4271 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.147 H 355.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC4271
RGBrgb(172, 66, 113)
HSLhsl(333, 45%, 47%)
HSVhsv(333, 62%, 67%)
CMYKcmyk(0%, 61.6%, 34.3%, 32.5%)
CIE-LABlab(44.03, 47.96, -4.48)
CIE-LCHlch(44.03, 48.17, 354.66°)
OKLaboklab(53.67% 0.1463 -0.0112)
OKLCHoklch(53.67% 0.147 355.6)
XYZxyz(21.9433, 13.8617, 17.1395)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4271 #42AC7D
analogous
#AC42A6 #AC4271 #AC4842
triadic
#AC4271 #71AC42 #4271AC
tetradic
#AC4271 #A6AC42 #42AC7D #4842AC
square
#AC4271 #A6AC42 #42AC7D #4842AC
split-complementary
#AC4271 #42AC48 #42A6AC
monochromatic
#542037 #803154 #AC4271 #C56790 #D693B0

Accessibility & contrast

On white

5.57
#AC4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC4271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4271
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4271#FFFFFF#000000##FFFFFF
##AC42711.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#706F6F
Tritanopia (blue-blind)
#B93A55
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac4271;
/* rgb */ color: rgb(172, 66, 113);
/* oklch */ color: oklch(53.7% 0.147 355.6);
Tailwind
colors: {
  custom: {
    50: '#c87c99',
    500: '#ac4271',
    950: '#000000',
  },
}
SCSS
$custom: #ac4271;
$custom-light: #c87c99;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4271",
  "rgb": {
    "r": 172,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 333.396,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.1467,
    "h": 355.6
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#AC4271
secondary
#89C1A8
accent
#D49B54
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AC4271

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

Preview Lab → · Contrast checker → · Palette generator →

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