#AC5271#AC5271

#AC5271 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 55.9% C 0.122 H 0.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC5271
RGBrgb(172, 82, 113)
HSLhsl(339, 35%, 50%)
HSVhsv(339, 52%, 67%)
CMYKcmyk(0%, 52.3%, 34.3%, 32.5%)
CIE-LABlab(46.97, 40.19, -0.16)
CIE-LCHlch(46.97, 40.19, 359.78°)
OKLaboklab(55.87% 0.1222 0.0001)
OKLCHoklch(55.87% 0.122 0.1)
XYZxyz(23.0123, 15.9997, 17.4959)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5271 #52AC8D
analogous
#AC529E #AC5271 #AC6052
triadic
#AC5271 #71AC52 #5271AC
tetradic
#AC5271 #9EAC52 #52AC8D #6052AC
square
#AC5271 #9EAC52 #52AC8D #6052AC
split-complementary
#AC5271 #52AC60 #529EAC
monochromatic
#592A3B #833E56 #AC5271 #C07B93 #D4A5B5

Accessibility & contrast

On white

5.00
#AC5271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AC5271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5271
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5271#FFFFFF#000000##FFFFFF
##AC52711.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606572
Deuteranopia (green-blind)
#78766F
Tritanopia (blue-blind)
#B84B5D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ac5271;
/* rgb */ color: rgb(172, 82, 113);
/* oklch */ color: oklch(55.9% 0.122 0.1);
Tailwind
colors: {
  custom: {
    50: '#c88599',
    500: '#ac5271',
    950: '#000000',
  },
}
SCSS
$custom: #ac5271;
$custom-light: #c88599;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5271",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 339.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.12217,
    "h": 0.1
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#AC5271
secondary
#99C1B3
accent
#CBA55C
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AC5271

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

Preview Lab → · Contrast checker → · Palette generator →

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