#B54C8F#B54C8F

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

Color values

HEX#B54C8F
RGBrgb(181, 76, 143)
HSLhsl(322, 42%, 50%)
HSVhsv(322, 58%, 71%)
CMYKcmyk(0%, 58%, 21%, 29%)
CIE-LABlab(48.23, 50.19, -16.22)
CIE-LCHlch(48.23, 52.74, 342.09°)
OKLaboklab(57.42% 0.1501 -0.0431)
OKLCHoklch(57.42% 0.156 344)
XYZxyz(26.5991, 16.9781, 27.8575)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54C8F #4CB572
analogous
#A64CB5 #B54C8F #B54C5A
triadic
#B54C8F #8FB54C #4C8FB5
tetradic
#B54C8F #B5A64C #4CB572 #4C5AB5
square
#B54C8F #B5A64C #4CB572 #4C5AB5
split-complementary
#B54C8F #5AB54C #4CB5A6
monochromatic
#5F274B #8B396D #B54C8F #C777AA #D9A3C5

Accessibility & contrast

On white

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

On black

4.40
#B54C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B54C8F#FFFFFF#000000##FFFFFF
##B54C8F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556791
Deuteranopia (green-blind)
#72798C
Tritanopia (blue-blind)
#C04C67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b54c8f;
/* rgb */ color: rgb(181, 76, 143);
/* oklch */ color: oklch(57.4% 0.156 344.0);
Tailwind
colors: {
  custom: {
    50: '#ce83b0',
    500: '#b54c8f',
    950: '#000000',
  },
}
SCSS
$custom: #b54c8f;
$custom-light: #ce83b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b54c8f",
  "rgb": {
    "r": 181,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 321.714,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.15619,
    "h": 344
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#B54C8F
secondary
#97C6A8
accent
#D18356
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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