#A54887#A54887

#A54887 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.3% C 0.144 H 341.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A54887
RGBrgb(165, 72, 135)
HSLhsl(319, 39%, 46%)
HSVhsv(319, 56%, 65%)
CMYKcmyk(0%, 56.4%, 18.2%, 35.3%)
CIE-LABlab(44.78, 45.98, -16.89)
CIE-LCHlch(44.78, 48.98, 339.83°)
OKLaboklab(54.27% 0.1365 -0.0451)
OKLCHoklch(54.27% 0.144 341.7)
XYZxyz(22.2080, 14.3852, 24.5239)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54887 #48A566
analogous
#9548A5 #A54887 #A54859
triadic
#A54887 #87A548 #4887A5
tetradic
#A54887 #A59548 #48A566 #4859A5
square
#A54887 #A59548 #48A566 #4859A5
split-complementary
#A54887 #59A548 #48A595
monochromatic
#502341 #7A3564 #A54887 #BF6CA4 #D196BE

Accessibility & contrast

On white

5.42
#A54887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A54887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54887
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54887#FFFFFF#000000##FFFFFF
##A548871.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6089
Deuteranopia (green-blind)
#686F85
Tritanopia (blue-blind)
#AE4961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a54887;
/* rgb */ color: rgb(165, 72, 135);
/* oklch */ color: oklch(54.3% 0.144 341.7);
Tailwind
colors: {
  custom: {
    50: '#c27faa',
    500: '#a54887',
    950: '#000000',
  },
}
SCSS
$custom: #a54887;
$custom-light: #c27faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a54887",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 319.355,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5427,
    "c": 0.14379,
    "h": 341.7
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#A54887
secondary
#8CBD9C
accent
#CF7F59
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A54887

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

Preview Lab → · Contrast checker → · Palette generator →

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