#B54598#B54598

#B54598 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.173 H 339.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B54598
RGBrgb(181, 69, 152)
HSLhsl(316, 45%, 49%)
HSVhsv(316, 62%, 71%)
CMYKcmyk(0%, 61.9%, 16%, 29%)
CIE-LABlab(47.43, 54.68, -22.83)
CIE-LCHlch(47.43, 59.26, 337.34°)
OKLaboklab(56.94% 0.1616 -0.0615)
OKLCHoklch(56.94% 0.173 339.2)
XYZxyz(26.8522, 16.3493, 31.4412)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54598 #45B562
analogous
#9A45B5 #B54598 #B54560
triadic
#B54598 #98B545 #4598B5
tetradic
#B54598 #B59A45 #45B562 #4560B5
square
#B54598 #B59A45 #45B562 #4560B5
split-complementary
#B54598 #60B545 #45B59A
monochromatic
#5C234E #893473 #B54598 #C86FB1 #D99BC9

Accessibility & contrast

On white

4.92
#B54598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B54598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54598
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54598#FFFFFF#000000##FFFFFF
##B545981.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659B
Deuteranopia (green-blind)
#6C7795
Tritanopia (blue-blind)
#BF4868
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54598;
/* rgb */ color: rgb(181, 69, 152);
/* oklch */ color: oklch(56.9% 0.173 339.2);
Tailwind
colors: {
  custom: {
    50: '#ce7fb6',
    500: '#b54598',
    950: '#000000',
  },
}
SCSS
$custom: #b54598;
$custom-light: #ce7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54598",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 152
  },
  "hsl": {
    "h": 315.536,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.17294,
    "h": 339.2
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#B54598
secondary
#91C59E
accent
#D57553
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54598

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

Preview Lab → · Contrast checker → · Palette generator →

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