#B54877#B54877

#B54877 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.0% C 0.149 H 356.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B54877
RGBrgb(181, 72, 119)
HSLhsl(334, 43%, 50%)
HSVhsv(334, 60%, 71%)
CMYKcmyk(0%, 60.2%, 34.3%, 29%)
CIE-LABlab(46.70, 48.83, -4.04)
CIE-LCHlch(46.70, 48.99, 355.27°)
OKLaboklab(56% 0.1488 -0.01)
OKLCHoklch(56% 0.149 356.2)
XYZxyz(24.7045, 15.7930, 19.1965)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54877 #48B586
analogous
#B548AE #B54877 #B54F48
triadic
#B54877 #77B548 #4877B5
tetradic
#B54877 #AEB548 #48B586 #4F48B5
square
#B54877 #AEB548 #48B586 #4F48B5
split-complementary
#B54877 #48B54F #48AEB5
monochromatic
#5D253D #89375A #B54877 #C77397 #D99FB8

Accessibility & contrast

On white

5.05
#B54877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B54877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54877
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54877#FFFFFF#000000##FFFFFF
##B548771.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596278
Deuteranopia (green-blind)
#777674
Tritanopia (blue-blind)
#C2405A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54877;
/* rgb */ color: rgb(181, 72, 119);
/* oklch */ color: oklch(56.0% 0.149 356.2);
Tailwind
colors: {
  custom: {
    50: '#cf809e',
    500: '#b54877',
    950: '#000000',
  },
}
SCSS
$custom: #b54877;
$custom-light: #cf809e;
$custom-dark: #000000;
JSON
{
  "hex": "#b54877",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 334.128,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.14918,
    "h": 356.2
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#B54877
secondary
#93C5B0
accent
#D39D55
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B54877

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

Preview Lab → · Contrast checker → · Palette generator →

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