#B54871#B54871

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

Color values

HEX#B54871
RGBrgb(181, 72, 113)
HSLhsl(337, 43%, 50%)
HSVhsv(337, 60%, 71%)
CMYKcmyk(0%, 60.2%, 37.6%, 29%)
CIE-LABlab(46.52, 48.11, -0.66)
CIE-LCHlch(46.52, 48.12, 359.22°)
OKLaboklab(55.8% 0.1468 -0.0011)
OKLCHoklch(55.8% 0.147 359.6)
XYZxyz(24.3555, 15.6534, 17.3584)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54871 #48B58C
analogous
#B548A8 #B54871 #B55548
triadic
#B54871 #71B548 #4871B5
tetradic
#B54871 #A8B548 #48B58C #5548B5
square
#B54871 #A8B548 #48B58C #5548B5
split-complementary
#B54871 #48B555 #48A8B5
monochromatic
#5D253A #893756 #B54871 #C77393 #D99FB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54871#FFFFFF#000000##FFFFFF
##B548711.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)
#5B6172
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#C33E58
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54871;
/* rgb */ color: rgb(181, 72, 113);
/* oklch */ color: oklch(55.8% 0.147 359.6);
Tailwind
colors: {
  custom: {
    50: '#cf8099',
    500: '#b54871',
    950: '#000000',
  },
}
SCSS
$custom: #b54871;
$custom-light: #cf8099;
$custom-dark: #000000;
JSON
{
  "hex": "#b54871",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 337.431,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.14682,
    "h": 359.6
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#B54871
secondary
#93C5B3
accent
#D3A355
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B54871

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

Preview Lab → · Contrast checker → · Palette generator →

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