#A54E8A#A54E8A

#A54E8A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.2% C 0.136 H 340.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A54E8A
RGBrgb(165, 78, 138)
HSLhsl(319, 36%, 48%)
HSVhsv(319, 53%, 65%)
CMYKcmyk(0%, 52.7%, 16.4%, 35.3%)
CIE-LABlab(46.02, 43.47, -16.81)
CIE-LCHlch(46.02, 46.61, 338.86°)
OKLaboklab(55.23% 0.1284 -0.045)
OKLCHoklch(55.23% 0.136 340.7)
XYZxyz(22.8292, 15.2848, 25.7877)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54E8A #4EA569
analogous
#944EA5 #A54E8A #A54E5E
triadic
#A54E8A #8AA54E #4E8AA5
tetradic
#A54E8A #A5944E #4EA569 #4E5EA5
square
#A54E8A #A5944E #4EA569 #4E5EA5
split-complementary
#A54E8A #5EA54E #4EA594
monochromatic
#522744 #7B3A67 #A54E8A #BD73A6 #D19DC1

Accessibility & contrast

On white

5.18
#A54E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A54E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54E8A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54E8A#FFFFFF#000000##FFFFFF
##A54E8A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#6B7288
Tritanopia (blue-blind)
#AE4F66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a54e8a;
/* rgb */ color: rgb(165, 78, 138);
/* oklch */ color: oklch(55.2% 0.136 340.7);
Tailwind
colors: {
  custom: {
    50: '#c283ac',
    500: '#a54e8a',
    950: '#000000',
  },
}
SCSS
$custom: #a54e8a;
$custom-light: #c283ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a54e8a",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 318.621,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.13604,
    "h": 340.7
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#A54E8A
secondary
#91BD9F
accent
#CC7F5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A54E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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