#A54D8A#A54D8A

#A54D8A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.138 H 340.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A54D8A
RGBrgb(165, 77, 138)
HSLhsl(318, 36%, 47%)
HSVhsv(318, 53%, 65%)
CMYKcmyk(0%, 53.3%, 16.4%, 35.3%)
CIE-LABlab(45.83, 43.97, -17.10)
CIE-LCHlch(45.83, 47.18, 338.75°)
OKLaboklab(55.09% 0.1299 -0.0458)
OKLCHoklch(55.09% 0.138 340.6)
XYZxyz(22.7587, 15.1438, 25.7642)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54D8A #4DA568
analogous
#944DA5 #A54D8A #A54D5E
triadic
#A54D8A #8AA54D #4D8AA5
tetradic
#A54D8A #A5944D #4DA568 #4D5EA5
square
#A54D8A #A5944D #4DA568 #4D5EA5
split-complementary
#A54D8A #5EA54D #4DA594
monochromatic
#522644 #7B3A67 #A54D8A #BD72A6 #D19CC0

Accessibility & contrast

On white

5.21
#A54D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A54D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54D8A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54D8A#FFFFFF#000000##FFFFFF
##A54D8A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#AE4E65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a54d8a;
/* rgb */ color: rgb(165, 77, 138);
/* oklch */ color: oklch(55.1% 0.138 340.6);
Tailwind
colors: {
  custom: {
    50: '#c282ac',
    500: '#a54d8a',
    950: '#000000',
  },
}
SCSS
$custom: #a54d8a;
$custom-light: #c282ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a54d8a",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 318.409,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.13772,
    "h": 340.6
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#A54D8A
secondary
#90BD9E
accent
#CC7E5B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A54D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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