#A54B8A#A54B8A

#A54B8A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.8% C 0.141 H 340.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A54B8A
RGBrgb(165, 75, 138)
HSLhsl(318, 38%, 47%)
HSVhsv(318, 55%, 65%)
CMYKcmyk(0%, 54.5%, 16.4%, 35.3%)
CIE-LABlab(45.45, 44.97, -17.68)
CIE-LCHlch(45.45, 48.32, 338.54°)
OKLaboklab(54.81% 0.1329 -0.0474)
OKLCHoklch(54.81% 0.141 340.4)
XYZxyz(22.6209, 14.8682, 25.7183)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54B8A #4BA566
analogous
#934BA5 #A54B8A #A54B5D
triadic
#A54B8A #8AA54B #4B8AA5
tetradic
#A54B8A #A5934B #4BA566 #4B5DA5
square
#A54B8A #A5934B #4BA566 #4B5DA5
split-complementary
#A54B8A #5DA54B #4BA593
monochromatic
#512544 #7B3867 #A54B8A #BE6FA6 #D19AC0

Accessibility & contrast

On white

5.29
#A54B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A54B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54B8A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54B8A#FFFFFF#000000##FFFFFF
##A54B8A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#AE4D64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a54b8a;
/* rgb */ color: rgb(165, 75, 138);
/* oklch */ color: oklch(54.8% 0.141 340.4);
Tailwind
colors: {
  custom: {
    50: '#c281ac',
    500: '#a54b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a54b8a;
$custom-light: #c281ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a54b8a",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 318,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.14105,
    "h": 340.4
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#A54B8A
secondary
#8FBD9D
accent
#CD7D5A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A54B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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