#A54878#A54878

#A54878 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.7% C 0.134 H 350.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A54878
RGBrgb(165, 72, 120)
HSLhsl(329, 39%, 46%)
HSVhsv(329, 56%, 65%)
CMYKcmyk(0%, 56.4%, 27.3%, 35.3%)
CIE-LABlab(44.22, 43.77, -8.61)
CIE-LCHlch(44.22, 44.61, 348.87°)
OKLaboklab(53.67% 0.1324 -0.0224)
OKLCHoklch(53.67% 0.134 350.4)
XYZxyz(21.2254, 13.9921, 19.3485)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54878 #48A575
analogous
#A448A5 #A54878 #A5484A
triadic
#A54878 #78A548 #4878A5
tetradic
#A54878 #A5A448 #48A575 #484AA5
square
#A54878 #A5A448 #48A575 #484AA5
split-complementary
#A54878 #4AA548 #48A5A4
monochromatic
#50233A #7A3559 #A54878 #BF6C96 #D196B5

Accessibility & contrast

On white

5.53
#A54878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A54878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54878
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54878#FFFFFF#000000##FFFFFF
##A548781.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#6C6F76
Tritanopia (blue-blind)
#B0445B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a54878;
/* rgb */ color: rgb(165, 72, 120);
/* oklch */ color: oklch(53.7% 0.134 350.4);
Tailwind
colors: {
  custom: {
    50: '#c27f9f',
    500: '#a54878',
    950: '#000000',
  },
}
SCSS
$custom: #a54878;
$custom-light: #c27f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a54878",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 329.032,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.13423,
    "h": 350.4
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#A54878
secondary
#8CBDA4
accent
#CF9259
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A54878

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

Preview Lab → · Contrast checker → · Palette generator →

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