#A54291#A54291

#A54291 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.161 H 336.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A54291
RGBrgb(165, 66, 145)
HSLhsl(312, 43%, 45%)
HSVhsv(312, 60%, 65%)
CMYKcmyk(0%, 60%, 12.1%, 35.3%)
CIE-LABlab(44.15, 50.39, -23.91)
CIE-LCHlch(44.15, 55.77, 334.62°)
OKLaboklab(53.94% 0.1471 -0.0648)
OKLCHoklch(53.94% 0.161 336.2)
XYZxyz(22.5763, 13.9419, 28.2846)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54291 #42A556
analogous
#8742A5 #A54291 #A54260
triadic
#A54291 #91A542 #4291A5
tetradic
#A54291 #A58742 #42A556 #4260A5
square
#A54291 #A58742 #42A556 #4260A5
split-complementary
#A54291 #60A542 #42A587
monochromatic
#4E1F44 #79316B #A54291 #C163AE #D28FC5

Accessibility & contrast

On white

5.54
#A54291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A54291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54291
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54291#FFFFFF#000000##FFFFFF
##A542911.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F93
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#AD4763
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a54291;
/* rgb */ color: rgb(165, 66, 145);
/* oklch */ color: oklch(53.9% 0.161 336.2);
Tailwind
colors: {
  custom: {
    50: '#c27cb1',
    500: '#a54291',
    950: '#000000',
  },
}
SCSS
$custom: #a54291;
$custom-light: #c27cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54291",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 312.121,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.16072,
    "h": 336.2
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#A54291
secondary
#85BD91
accent
#D36F55
background
#FCF7FA
surface
#F8EEF5
border
#D1C9CF
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A54291

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

Preview Lab → · Contrast checker → · Palette generator →

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