#A54F8A#A54F8A

#A54F8A is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.4% C 0.134 H 340.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A54F8A
RGBrgb(165, 79, 138)
HSLhsl(319, 35%, 48%)
HSVhsv(319, 52%, 65%)
CMYKcmyk(0%, 52.1%, 16.4%, 35.3%)
CIE-LABlab(46.21, 42.96, -16.51)
CIE-LCHlch(46.21, 46.03, 338.98°)
OKLaboklab(55.37% 0.1269 -0.0441)
OKLCHoklch(55.37% 0.134 340.8)
XYZxyz(22.9008, 15.4280, 25.8116)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54F8A #4FA56A
analogous
#954FA5 #A54F8A #A54F5F
triadic
#A54F8A #8AA54F #4F8AA5
tetradic
#A54F8A #A5954F #4FA56A #4F5FA5
square
#A54F8A #A5954F #4FA56A #4F5FA5
split-complementary
#A54F8A #5FA54F #4FA595
monochromatic
#522745 #7C3B67 #A54F8A #BD75A6 #D19EC1

Accessibility & contrast

On white

5.14
#A54F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A54F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54F8A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54F8A#FFFFFF#000000##FFFFFF
##A54F8A1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658C
Deuteranopia (green-blind)
#6B7388
Tritanopia (blue-blind)
#AE5066
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a54f8a;
/* rgb */ color: rgb(165, 79, 138);
/* oklch */ color: oklch(55.4% 0.134 340.8);
Tailwind
colors: {
  custom: {
    50: '#c284ac',
    500: '#a54f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a54f8a;
$custom-light: #c284ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a54f8a",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 318.837,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.13434,
    "h": 340.8
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#A54F8A
secondary
#92BDA0
accent
#CB7F5D
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A54F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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