#A54986#A54986

#A54986 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.4% C 0.141 H 342.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A54986
RGBrgb(165, 73, 134)
HSLhsl(320, 39%, 47%)
HSVhsv(320, 56%, 65%)
CMYKcmyk(0%, 55.8%, 18.8%, 35.3%)
CIE-LABlab(44.92, 45.33, -16.07)
CIE-LCHlch(44.92, 48.10, 340.48°)
OKLaboklab(54.36% 0.1348 -0.0429)
OKLCHoklch(54.36% 0.141 342.4)
XYZxyz(22.2031, 14.4875, 24.1766)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54986 #49A568
analogous
#9649A5 #A54986 #A54958
triadic
#A54986 #86A549 #4986A5
tetradic
#A54986 #A59649 #49A568 #4958A5
square
#A54986 #A59649 #49A568 #4958A5
split-complementary
#A54986 #58A549 #49A596
monochromatic
#502341 #7B3664 #A54986 #BE6DA3 #D197BE

Accessibility & contrast

On white

5.39
#A54986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A54986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54986
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54986#FFFFFF#000000##FFFFFF
##A549861.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#AE4A61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a54986;
/* rgb */ color: rgb(165, 73, 134);
/* oklch */ color: oklch(54.4% 0.141 342.4);
Tailwind
colors: {
  custom: {
    50: '#c280a9',
    500: '#a54986',
    950: '#000000',
  },
}
SCSS
$custom: #a54986;
$custom-light: #c280a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a54986",
  "rgb": {
    "r": 165,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 320.217,
    "s": 38.655,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.14145,
    "h": 342.4
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#A54986
secondary
#8DBD9D
accent
#CF8159
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A54986

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

Preview Lab → · Contrast checker → · Palette generator →

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