#A54C8A#A54C8A

#A54C8A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.9% C 0.139 H 340.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A54C8A
RGBrgb(165, 76, 138)
HSLhsl(318, 37%, 47%)
HSVhsv(318, 54%, 65%)
CMYKcmyk(0%, 53.9%, 16.4%, 35.3%)
CIE-LABlab(45.64, 44.47, -17.39)
CIE-LCHlch(45.64, 47.75, 338.65°)
OKLaboklab(54.95% 0.1314 -0.0466)
OKLCHoklch(54.95% 0.139 340.5)
XYZxyz(22.6893, 15.0050, 25.7411)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54C8A #4CA567
analogous
#934CA5 #A54C8A #A54C5E
triadic
#A54C8A #8AA54C #4C8AA5
tetradic
#A54C8A #A5934C #4CA567 #4C5EA5
square
#A54C8A #A5934C #4CA567 #4C5EA5
split-complementary
#A54C8A #5EA54C #4CA593
monochromatic
#512544 #7B3967 #A54C8A #BD71A6 #D19BC0

Accessibility & contrast

On white

5.25
#A54C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A54C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54C8A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54C8A#FFFFFF#000000##FFFFFF
##A54C8A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54c8a;
/* rgb */ color: rgb(165, 76, 138);
/* oklch */ color: oklch(54.9% 0.139 340.5);
Tailwind
colors: {
  custom: {
    50: '#c282ac',
    500: '#a54c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a54c8a;
$custom-light: #c282ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a54c8a",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 318.202,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.13939,
    "h": 340.5
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#A54C8A
secondary
#8FBD9D
accent
#CD7D5B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A54C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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