#B54C8A#B54C8A

#B54C8A is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.2% C 0.153 H 346.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B54C8A
RGBrgb(181, 76, 138)
HSLhsl(325, 42%, 50%)
HSVhsv(325, 58%, 71%)
CMYKcmyk(0%, 58%, 23.8%, 29%)
CIE-LABlab(48.05, 49.47, -13.51)
CIE-LCHlch(48.05, 51.28, 344.73°)
OKLaboklab(57.22% 0.1488 -0.0356)
OKLCHoklch(57.22% 0.153 346.5)
XYZxyz(26.2288, 16.8300, 25.9070)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54C8A #4CB577
analogous
#AB4CB5 #B54C8A #B54C56
triadic
#B54C8A #8AB54C #4C8AB5
tetradic
#B54C8A #B5AB4C #4CB577 #4C56B5
square
#B54C8A #B5AB4C #4CB577 #4C56B5
split-complementary
#B54C8A #56B54C #4CB5AB
monochromatic
#5F2748 #8B3969 #B54C8A #C777A6 #D9A3C3

Accessibility & contrast

On white

4.81
#B54C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B54C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54C8A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54C8A#FFFFFF#000000##FFFFFF
##B54C8A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54c8a;
/* rgb */ color: rgb(181, 76, 138);
/* oklch */ color: oklch(57.2% 0.153 346.5);
Tailwind
colors: {
  custom: {
    50: '#ce83ac',
    500: '#b54c8a',
    950: '#000000',
  },
}
SCSS
$custom: #b54c8a;
$custom-light: #ce83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b54c8a",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 324.571,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.15303,
    "h": 346.5
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#B54C8A
secondary
#97C6AA
accent
#D18956
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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