#B54987#B54987

#B54987 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.156 H 347.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B54987
RGBrgb(181, 73, 135)
HSLhsl(326, 43%, 50%)
HSVhsv(326, 60%, 71%)
CMYKcmyk(0%, 59.7%, 25.4%, 29%)
CIE-LABlab(47.42, 50.44, -12.65)
CIE-LCHlch(47.42, 52.00, 345.92°)
OKLaboklab(56.71% 0.1522 -0.0333)
OKLCHoklch(56.71% 0.156 347.7)
XYZxyz(25.8127, 16.3406, 24.7116)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54987 #49B577
analogous
#AD49B5 #B54987 #B54951
triadic
#B54987 #87B549 #4987B5
tetradic
#B54987 #B5AD49 #49B577 #4951B5
square
#B54987 #B5AD49 #49B577 #4951B5
split-complementary
#B54987 #51B549 #49B5AD
monochromatic
#5E2646 #893766 #B54987 #C774A4 #D9A0C0

Accessibility & contrast

On white

4.92
#B54987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B54987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54987
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54987#FFFFFF#000000##FFFFFF
##B549871.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556589
Deuteranopia (green-blind)
#737784
Tritanopia (blue-blind)
#C14662
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54987;
/* rgb */ color: rgb(181, 73, 135);
/* oklch */ color: oklch(56.7% 0.156 347.7);
Tailwind
colors: {
  custom: {
    50: '#ce81aa',
    500: '#b54987',
    950: '#000000',
  },
}
SCSS
$custom: #b54987;
$custom-light: #ce81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b54987",
  "rgb": {
    "r": 181,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 325.556,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.15583,
    "h": 347.7
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#B54987
secondary
#94C5A9
accent
#D28B55
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54987

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

Preview Lab → · Contrast checker → · Palette generator →

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