#B54D8A#B54D8A

#B54D8A is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.151 H 346.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B54D8A
RGBrgb(181, 77, 138)
HSLhsl(325, 41%, 51%)
HSVhsv(325, 57%, 71%)
CMYKcmyk(0%, 57.5%, 23.8%, 29%)
CIE-LABlab(48.22, 49.00, -13.24)
CIE-LCHlch(48.22, 50.76, 344.88°)
OKLaboklab(57.35% 0.1474 -0.0349)
OKLCHoklch(57.35% 0.151 346.7)
XYZxyz(26.2982, 16.9689, 25.9301)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54D8A #4DB578
analogous
#AC4DB5 #B54D8A #B54D56
triadic
#B54D8A #8AB54D #4D8AB5
tetradic
#B54D8A #B5AC4D #4DB578 #4D56B5
square
#B54D8A #B5AC4D #4DB578 #4D56B5
split-complementary
#B54D8A #56B54D #4DB5AC
monochromatic
#602849 #8B3A69 #B54D8A #C778A6 #D9A3C3

Accessibility & contrast

On white

4.78
#B54D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B54D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54D8A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54D8A#FFFFFF#000000##FFFFFF
##B54D8A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#747987
Tritanopia (blue-blind)
#C04B65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b54d8a;
/* rgb */ color: rgb(181, 77, 138);
/* oklch */ color: oklch(57.3% 0.151 346.7);
Tailwind
colors: {
  custom: {
    50: '#ce84ac',
    500: '#b54d8a',
    950: '#000000',
  },
}
SCSS
$custom: #b54d8a;
$custom-light: #ce84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b54d8a",
  "rgb": {
    "r": 181,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 324.808,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.15147,
    "h": 346.7
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#B54D8A
secondary
#98C6AB
accent
#D18957
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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