#B54879#B54879

#B54879 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.150 H 355.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B54879
RGBrgb(181, 72, 121)
HSLhsl(333, 43%, 50%)
HSVhsv(333, 60%, 71%)
CMYKcmyk(0%, 60.2%, 33.1%, 29%)
CIE-LABlab(46.77, 49.07, -5.16)
CIE-LCHlch(46.77, 49.34, 354.00°)
OKLaboklab(56.07% 0.1495 -0.013)
OKLCHoklch(56.07% 0.15 355)
XYZxyz(24.8259, 15.8415, 19.8358)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54879 #48B584
analogous
#B548AF #B54879 #B54E48
triadic
#B54879 #79B548 #4879B5
tetradic
#B54879 #AFB548 #48B584 #4E48B5
square
#B54879 #AFB548 #48B584 #4E48B5
split-complementary
#B54879 #48B54E #48AFB5
monochromatic
#5D253E #89375C #B54879 #C77399 #D99FB9

Accessibility & contrast

On white

5.04
#B54879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B54879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54879
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54879#FFFFFF#000000##FFFFFF
##B548791.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#C2415B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54879;
/* rgb */ color: rgb(181, 72, 121);
/* oklch */ color: oklch(56.1% 0.150 355.0);
Tailwind
colors: {
  custom: {
    50: '#cf809f',
    500: '#b54879',
    950: '#000000',
  },
}
SCSS
$custom: #b54879;
$custom-light: #cf809f;
$custom-dark: #000000;
JSON
{
  "hex": "#b54879",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 333.028,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.15005,
    "h": 355
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#B54879
secondary
#93C5AF
accent
#D39A55
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B54879

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

Preview Lab → · Contrast checker → · Palette generator →

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