#B54986#B54986

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

Color values

HEX#B54986
RGBrgb(181, 73, 134)
HSLhsl(326, 43%, 50%)
HSVhsv(326, 60%, 71%)
CMYKcmyk(0%, 59.7%, 26%, 29%)
CIE-LABlab(47.38, 50.30, -12.11)
CIE-LCHlch(47.38, 51.74, 346.47°)
OKLaboklab(56.68% 0.152 -0.0317)
OKLCHoklch(56.68% 0.155 348.2)
XYZxyz(25.7426, 16.3125, 24.3425)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54986 #49B578
analogous
#AE49B5 #B54986 #B54950
triadic
#B54986 #86B549 #4986B5
tetradic
#B54986 #B5AE49 #49B578 #4950B5
square
#B54986 #B5AE49 #49B578 #4950B5
split-complementary
#B54986 #50B549 #49B5AE
monochromatic
#5E2645 #893766 #B54986 #C774A3 #D9A0C0

Accessibility & contrast

On white

4.93
#B54986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B54986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54986
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54986#FFFFFF#000000##FFFFFF
##B549861.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556588
Deuteranopia (green-blind)
#737783
Tritanopia (blue-blind)
#C14661
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54986;
/* rgb */ color: rgb(181, 73, 134);
/* oklch */ color: oklch(56.7% 0.155 348.2);
Tailwind
colors: {
  custom: {
    50: '#ce81a9',
    500: '#b54986',
    950: '#000000',
  },
}
SCSS
$custom: #b54986;
$custom-light: #ce81a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54986",
  "rgb": {
    "r": 181,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 326.111,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.15525,
    "h": 348.2
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#B54986
secondary
#94C5AA
accent
#D28C55
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B54986

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

Preview Lab → · Contrast checker → · Palette generator →

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