#B54594#B54594

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

Color values

HEX#B54594
RGBrgb(181, 69, 148)
HSLhsl(318, 45%, 49%)
HSVhsv(318, 62%, 71%)
CMYKcmyk(0%, 61.9%, 18.2%, 29%)
CIE-LABlab(47.26, 54.08, -20.70)
CIE-LCHlch(47.26, 57.91, 339.06°)
OKLaboklab(56.76% 0.1608 -0.0555)
OKLCHoklch(56.76% 0.17 340.9)
XYZxyz(26.5301, 16.2205, 29.7448)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54594 #45B566
analogous
#9E45B5 #B54594 #B5455C
triadic
#B54594 #94B545 #4594B5
tetradic
#B54594 #B59E45 #45B566 #455CB5
square
#B54594 #B59E45 #45B566 #455CB5
split-complementary
#B54594 #5CB545 #45B59E
monochromatic
#5C234C #893470 #B54594 #C86FAE #D99BC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54594#FFFFFF#000000##FFFFFF
##B545941.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)
#4C6596
Deuteranopia (green-blind)
#6D7791
Tritanopia (blue-blind)
#BF4766
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54594;
/* rgb */ color: rgb(181, 69, 148);
/* oklch */ color: oklch(56.8% 0.170 340.9);
Tailwind
colors: {
  custom: {
    50: '#ce7fb3',
    500: '#b54594',
    950: '#000000',
  },
}
SCSS
$custom: #b54594;
$custom-light: #ce7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54594",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 317.679,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.17014,
    "h": 340.9
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#B54594
secondary
#91C5A0
accent
#D57953
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54594

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

Preview Lab → · Contrast checker → · Palette generator →

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