#AC5291#AC5291

#AC5291 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.1% C 0.140 H 340.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AC5291
RGBrgb(172, 82, 145)
HSLhsl(318, 35%, 50%)
HSVhsv(318, 52%, 67%)
CMYKcmyk(0%, 52.3%, 15.7%, 32.5%)
CIE-LABlab(48.07, 44.79, -17.78)
CIE-LCHlch(48.07, 48.19, 338.35°)
OKLaboklab(57.05% 0.1321 -0.0476)
OKLCHoklch(57.05% 0.14 340.2)
XYZxyz(25.1417, 16.8515, 28.7110)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5291 #52AC6D
analogous
#9A52AC #AC5291 #AC5264
triadic
#AC5291 #91AC52 #5291AC
tetradic
#AC5291 #AC9A52 #52AC6D #5264AC
square
#AC5291 #AC9A52 #52AC6D #5264AC
split-complementary
#AC5291 #64AC52 #52AC9A
monochromatic
#592A4B #833E6E #AC5291 #C07BAB #D4A5C6

Accessibility & contrast

On white

4.81
#AC5291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AC5291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC5291
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5291#FFFFFF#000000##FFFFFF
##AC52911.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566993
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#B5546B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ac5291;
/* rgb */ color: rgb(172, 82, 145);
/* oklch */ color: oklch(57.1% 0.140 340.2);
Tailwind
colors: {
  custom: {
    50: '#c786b1',
    500: '#ac5291',
    950: '#000000',
  },
}
SCSS
$custom: #ac5291;
$custom-light: #c786b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5291",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 318,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.14039,
    "h": 340.2
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#AC5291
secondary
#99C1A5
accent
#CB7E5C
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AC5291

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

Preview Lab → · Contrast checker → · Palette generator →

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