#B54099#B54099

#B54099 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.181 H 338.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B54099
RGBrgb(181, 64, 153)
HSLhsl(314, 48%, 48%)
HSVhsv(314, 65%, 71%)
CMYKcmyk(0%, 64.6%, 15.5%, 29%)
CIE-LABlab(46.70, 56.95, -24.56)
CIE-LCHlch(46.70, 62.02, 336.68°)
OKLaboklab(56.42% 0.1681 -0.0664)
OKLCHoklch(56.42% 0.181 338.5)
XYZxyz(26.6397, 15.7928, 31.7761)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54099 #40B55C
analogous
#9640B5 #B54099 #B5405E
triadic
#B54099 #99B540 #4099B5
tetradic
#B54099 #B59640 #40B55C #405EB5
square
#B54099 #B59640 #40B55C #405EB5
split-complementary
#B54099 #5EB540 #40B596
monochromatic
#5B204D #883073 #B54099 #CA68B2 #DA96C9

Accessibility & contrast

On white

5.05
#B54099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B54099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54099
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54099#FFFFFF#000000##FFFFFF
##B540991.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#BF4467
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54099;
/* rgb */ color: rgb(181, 64, 153);
/* oklch */ color: oklch(56.4% 0.181 338.5);
Tailwind
colors: {
  custom: {
    50: '#ce7db7',
    500: '#b54099',
    950: '#000000',
  },
}
SCSS
$custom: #b54099;
$custom-light: #ce7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#b54099",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 314.359,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.18077,
    "h": 338.5
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#B54099
secondary
#8BC599
accent
#D77150
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B54099

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

Preview Lab → · Contrast checker → · Palette generator →

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