#A54786#A54786

#A54786 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.145 H 342.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A54786
RGBrgb(165, 71, 134)
HSLhsl(320, 40%, 46%)
HSVhsv(320, 57%, 65%)
CMYKcmyk(0%, 57%, 18.8%, 35.3%)
CIE-LABlab(44.56, 46.31, -16.62)
CIE-LCHlch(44.56, 49.20, 340.25°)
OKLaboklab(54.09% 0.1377 -0.0444)
OKLCHoklch(54.09% 0.145 342.1)
XYZxyz(22.0738, 14.2289, 24.1335)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54786 #47A566
analogous
#9547A5 #A54786 #A54757
triadic
#A54786 #86A547 #4786A5
tetradic
#A54786 #A59547 #47A566 #4757A5
square
#A54786 #A59547 #47A566 #4757A5
split-complementary
#A54786 #57A547 #47A595
monochromatic
#4F2241 #7A3563 #A54786 #BF6AA3 #D195BD

Accessibility & contrast

On white

5.46
#A54786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A54786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54786
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54786#FFFFFF#000000##FFFFFF
##A547861.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6088
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#AE4860
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54786;
/* rgb */ color: rgb(165, 71, 134);
/* oklch */ color: oklch(54.1% 0.145 342.1);
Tailwind
colors: {
  custom: {
    50: '#c27fa9',
    500: '#a54786',
    950: '#000000',
  },
}
SCSS
$custom: #a54786;
$custom-light: #c27fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a54786",
  "rgb": {
    "r": 165,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 319.787,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.1447,
    "h": 342.1
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#A54786
secondary
#8BBD9B
accent
#D08058
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A54786

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

Preview Lab → · Contrast checker → · Palette generator →

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