#B54096#B54096

#B54096 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.179 H 339.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B54096
RGBrgb(181, 64, 150)
HSLhsl(316, 48%, 48%)
HSVhsv(316, 65%, 71%)
CMYKcmyk(0%, 64.6%, 17.1%, 29%)
CIE-LABlab(46.57, 56.51, -22.96)
CIE-LCHlch(46.57, 60.99, 337.89°)
OKLaboklab(56.29% 0.1676 -0.0619)
OKLCHoklch(56.29% 0.179 339.7)
XYZxyz(26.3950, 15.6949, 30.4875)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54096 #40B55F
analogous
#9940B5 #B54096 #B5405C
triadic
#B54096 #96B540 #4096B5
tetradic
#B54096 #B59940 #40B55F #405CB5
square
#B54096 #B59940 #40B55F #405CB5
split-complementary
#B54096 #5CB540 #40B599
monochromatic
#5B204B #883071 #B54096 #CA68B0 #DA96C8

Accessibility & contrast

On white

5.07
#B54096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B54096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54096
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54096#FFFFFF#000000##FFFFFF
##B540961.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#6A7593
Tritanopia (blue-blind)
#BF4365
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b54096;
/* rgb */ color: rgb(181, 64, 150);
/* oklch */ color: oklch(56.3% 0.179 339.7);
Tailwind
colors: {
  custom: {
    50: '#ce7db5',
    500: '#b54096',
    950: '#000000',
  },
}
SCSS
$custom: #b54096;
$custom-light: #ce7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54096",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 315.897,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.17866,
    "h": 339.7
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#B54096
secondary
#8BC59B
accent
#D77450
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B54096

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

Preview Lab → · Contrast checker → · Palette generator →

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