#B54872#B54872

#B54872 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.8% C 0.147 H 359.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B54872
RGBrgb(181, 72, 114)
HSLhsl(337, 43%, 50%)
HSVhsv(337, 60%, 71%)
CMYKcmyk(0%, 60.2%, 37%, 29%)
CIE-LABlab(46.55, 48.23, -1.22)
CIE-LCHlch(46.55, 48.25, 358.55°)
OKLaboklab(55.84% 0.1472 -0.0026)
OKLCHoklch(55.84% 0.147 359)
XYZxyz(24.4121, 15.6760, 17.6565)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54872 #48B58B
analogous
#B548A9 #B54872 #B55548
triadic
#B54872 #72B548 #4872B5
tetradic
#B54872 #A9B548 #48B58B #5548B5
square
#B54872 #A9B548 #48B58B #5548B5
split-complementary
#B54872 #48B555 #48A9B5
monochromatic
#5D253B #893756 #B54872 #C77393 #D99FB5

Accessibility & contrast

On white

5.08
#B54872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B54872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54872
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54872#FFFFFF#000000##FFFFFF
##B548721.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6173
Deuteranopia (green-blind)
#78766F
Tritanopia (blue-blind)
#C33E58
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54872;
/* rgb */ color: rgb(181, 72, 114);
/* oklch */ color: oklch(55.8% 0.147 359.0);
Tailwind
colors: {
  custom: {
    50: '#cf809a',
    500: '#b54872',
    950: '#000000',
  },
}
SCSS
$custom: #b54872;
$custom-light: #cf809a;
$custom-dark: #000000;
JSON
{
  "hex": "#b54872",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 336.881,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.14718,
    "h": 359
  },
  "luminance": 0.15673
}

Semantic roles & 50–950 ramp

primary
#B54872
secondary
#93C5B2
accent
#D3A255
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B54872

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

Preview Lab → · Contrast checker → · Palette generator →

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