#A54589#A54589

#A54589 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.0% C 0.150 H 340.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A54589
RGBrgb(165, 69, 137)
HSLhsl(318, 41%, 46%)
HSVhsv(318, 58%, 65%)
CMYKcmyk(0%, 58.2%, 17%, 35.3%)
CIE-LABlab(44.32, 47.72, -18.80)
CIE-LCHlch(44.32, 51.29, 338.50°)
OKLaboklab(53.96% 0.1413 -0.0505)
OKLCHoklch(53.96% 0.15 340.3)
XYZxyz(22.1609, 14.0636, 25.2094)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54589 #45A561
analogous
#9145A5 #A54589 #A54559
triadic
#A54589 #89A545 #4589A5
tetradic
#A54589 #A59145 #45A561 #4559A5
square
#A54589 #A59145 #45A561 #4559A5
split-complementary
#A54589 #59A545 #45A591
monochromatic
#4F2141 #7A3365 #A54589 #C068A6 #D293BF

Accessibility & contrast

On white

5.51
#A54589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A54589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54589
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54589#FFFFFF#000000##FFFFFF
##A545891.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#666E87
Tritanopia (blue-blind)
#AE4761
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54589;
/* rgb */ color: rgb(165, 69, 137);
/* oklch */ color: oklch(54.0% 0.150 340.3);
Tailwind
colors: {
  custom: {
    50: '#c27eab',
    500: '#a54589',
    950: '#000000',
  },
}
SCSS
$custom: #a54589;
$custom-light: #c27eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a54589",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 317.5,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.15004,
    "h": 340.3
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#A54589
secondary
#88BD98
accent
#D17A57
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A54589

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

Preview Lab → · Contrast checker → · Palette generator →

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