#B54873#B54873

#B54873 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.9% C 0.148 H 358.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B54873
RGBrgb(181, 72, 115)
HSLhsl(336, 43%, 50%)
HSVhsv(336, 60%, 71%)
CMYKcmyk(0%, 60.2%, 36.5%, 29%)
CIE-LABlab(46.58, 48.35, -1.79)
CIE-LCHlch(46.58, 48.38, 357.88°)
OKLaboklab(55.87% 0.1475 -0.0041)
OKLCHoklch(55.87% 0.148 358.4)
XYZxyz(24.4693, 15.6989, 17.9579)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54873 #48B58A
analogous
#B548AA #B54873 #B55348
triadic
#B54873 #73B548 #4873B5
tetradic
#B54873 #AAB548 #48B58A #5348B5
square
#B54873 #AAB548 #48B58A #5348B5
split-complementary
#B54873 #48B553 #48AAB5
monochromatic
#5D253B #893757 #B54873 #C77394 #D99FB6

Accessibility & contrast

On white

5.07
#B54873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B54873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54873
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54873#FFFFFF#000000##FFFFFF
##B548731.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6274
Deuteranopia (green-blind)
#787670
Tritanopia (blue-blind)
#C33F59
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54873;
/* rgb */ color: rgb(181, 72, 115);
/* oklch */ color: oklch(55.9% 0.148 358.4);
Tailwind
colors: {
  custom: {
    50: '#cf809b',
    500: '#b54873',
    950: '#000000',
  },
}
SCSS
$custom: #b54873;
$custom-light: #cf809b;
$custom-dark: #000000;
JSON
{
  "hex": "#b54873",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 336.33,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55869,
    "c": 0.14756,
    "h": 358.4
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54873

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

Preview Lab → · Contrast checker → · Palette generator →

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