#B54982#B54982

#B54982 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.153 H 350.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B54982
RGBrgb(181, 73, 130)
HSLhsl(328, 43%, 50%)
HSVhsv(328, 60%, 71%)
CMYKcmyk(0%, 59.7%, 28.2%, 29%)
CIE-LABlab(47.24, 49.76, -9.91)
CIE-LCHlch(47.24, 50.74, 348.74°)
OKLaboklab(56.52% 0.1508 -0.0258)
OKLCHoklch(56.52% 0.153 350.3)
XYZxyz(25.4689, 16.2030, 22.9009)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54982 #49B57C
analogous
#B249B5 #B54982 #B5494C
triadic
#B54982 #82B549 #4982B5
tetradic
#B54982 #B5B249 #49B57C #494CB5
square
#B54982 #B5B249 #49B57C #494CB5
split-complementary
#B54982 #4CB549 #49B5B2
monochromatic
#5E2643 #893763 #B54982 #C774A0 #D9A0BE

Accessibility & contrast

On white

4.95
#B54982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B54982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54982
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54982#FFFFFF#000000##FFFFFF
##B549821.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576484
Deuteranopia (green-blind)
#74777F
Tritanopia (blue-blind)
#C14560
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54982;
/* rgb */ color: rgb(181, 73, 130);
/* oklch */ color: oklch(56.5% 0.153 350.3);
Tailwind
colors: {
  custom: {
    50: '#ce81a6',
    500: '#b54982',
    950: '#000000',
  },
}
SCSS
$custom: #b54982;
$custom-light: #ce81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54982",
  "rgb": {
    "r": 181,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 328.333,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.15301,
    "h": 350.3
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#B54982
secondary
#94C5AC
accent
#D29055
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B54982

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

Preview Lab → · Contrast checker → · Palette generator →

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