#A54C8F#A54C8F

#A54C8F is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.143 H 337.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A54C8F
RGBrgb(165, 76, 143)
HSLhsl(315, 37%, 47%)
HSVhsv(315, 54%, 65%)
CMYKcmyk(0%, 53.9%, 13.3%, 35.3%)
CIE-LABlab(45.84, 45.28, -20.09)
CIE-LCHlch(45.84, 49.54, 336.08°)
OKLaboklab(55.16% 0.1326 -0.0541)
OKLCHoklch(55.16% 0.143 337.8)
XYZxyz(23.0596, 15.1531, 27.6916)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54C8F #4CA562
analogous
#8E4CA5 #A54C8F #A54C63
triadic
#A54C8F #8FA54C #4C8FA5
tetradic
#A54C8F #A58E4C #4CA562 #4C63A5
square
#A54C8F #A58E4C #4CA562 #4C63A5
split-complementary
#A54C8F #63A54C #4CA58E
monochromatic
#512546 #7B396B #A54C8F #BD71AB #D19BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54C8F#FFFFFF#000000##FFFFFF
##A54C8F1.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)
#4E6491
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#AD4F67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a54c8f;
/* rgb */ color: rgb(165, 76, 143);
/* oklch */ color: oklch(55.2% 0.143 337.8);
Tailwind
colors: {
  custom: {
    50: '#c282b0',
    500: '#a54c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a54c8f;
$custom-light: #c282b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54c8f",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 314.831,
    "s": 36.929,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.1432,
    "h": 337.8
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#A54C8F
secondary
#8FBD9B
accent
#CD775B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A54C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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