#B54870#B54870

#B54870 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.8% C 0.146 H 0.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B54870
RGBrgb(181, 72, 112)
HSLhsl(338, 43%, 50%)
HSVhsv(338, 60%, 71%)
CMYKcmyk(0%, 60.2%, 38.1%, 29%)
CIE-LABlab(46.49, 48.00, -0.09)
CIE-LCHlch(46.49, 48.00, 359.89°)
OKLaboklab(55.77% 0.1465 0.0004)
OKLCHoklch(55.77% 0.146 0.1)
XYZxyz(24.2995, 15.6310, 17.0635)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54870 #48B58D
analogous
#B548A6 #B54870 #B55748
triadic
#B54870 #70B548 #4870B5
tetradic
#B54870 #A6B548 #48B58D #5748B5
square
#B54870 #A6B548 #48B58D #5748B5
split-complementary
#B54870 #48B557 #48A6B5
monochromatic
#5D253A #893755 #B54870 #C77392 #D99FB4

Accessibility & contrast

On white

5.09
#B54870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B54870
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54870#FFFFFF#000000##FFFFFF
##B548701.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6171
Deuteranopia (green-blind)
#78766D
Tritanopia (blue-blind)
#C33E57
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54870;
/* rgb */ color: rgb(181, 72, 112);
/* oklch */ color: oklch(55.8% 0.146 0.1);
Tailwind
colors: {
  custom: {
    50: '#cf8099',
    500: '#b54870',
    950: '#000000',
  },
}
SCSS
$custom: #b54870;
$custom-light: #cf8099;
$custom-dark: #000000;
JSON
{
  "hex": "#b54870",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 337.982,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.14647,
    "h": 0.1
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#B54870
secondary
#93C5B3
accent
#D3A555
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0D
muted
#837C7E

Preview Lab

Preview with #B54870

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

Preview Lab → · Contrast checker → · Palette generator →

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