#B54882#B54882

#B54882 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.4% C 0.155 H 350.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B54882
RGBrgb(181, 72, 130)
HSLhsl(328, 43%, 50%)
HSVhsv(328, 60%, 71%)
CMYKcmyk(0%, 60.2%, 28.2%, 29%)
CIE-LABlab(47.07, 50.22, -10.16)
CIE-LCHlch(47.07, 51.24, 348.56°)
OKLaboklab(56.4% 0.1522 -0.0264)
OKLCHoklch(56.4% 0.155 350.1)
XYZxyz(25.4037, 16.0727, 22.8792)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54882 #48B57B
analogous
#B148B5 #B54882 #B5484C
triadic
#B54882 #82B548 #4882B5
tetradic
#B54882 #B5B148 #48B57B #484CB5
square
#B54882 #B5B148 #48B57B #484CB5
split-complementary
#B54882 #4CB548 #48B5B1
monochromatic
#5D2543 #893763 #B54882 #C773A0 #D99FBE

Accessibility & contrast

On white

4.98
#B54882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B54882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54882
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54882#FFFFFF#000000##FFFFFF
##B548821.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54882;
/* rgb */ color: rgb(181, 72, 130);
/* oklch */ color: oklch(56.4% 0.155 350.1);
Tailwind
colors: {
  custom: {
    50: '#ce81a6',
    500: '#b54882',
    950: '#000000',
  },
}
SCSS
$custom: #b54882;
$custom-light: #ce81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54882",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 328.073,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.15452,
    "h": 350.1
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#B54882
secondary
#93C5AB
accent
#D39055
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B54882

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

Preview Lab → · Contrast checker → · Palette generator →

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