#B54591#B54591

#B54591 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.168 H 342.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B54591
RGBrgb(181, 69, 145)
HSLhsl(319, 45%, 49%)
HSVhsv(319, 62%, 71%)
CMYKcmyk(0%, 61.9%, 19.9%, 29%)
CIE-LABlab(47.14, 53.64, -19.09)
CIE-LCHlch(47.14, 56.94, 340.41°)
OKLaboklab(56.64% 0.1602 -0.051)
OKLCHoklch(56.64% 0.168 342.3)
XYZxyz(26.2957, 16.1267, 28.5104)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54591 #45B569
analogous
#A145B5 #B54591 #B54559
triadic
#B54591 #91B545 #4591B5
tetradic
#B54591 #B5A145 #45B569 #4559B5
square
#B54591 #B5A145 #45B569 #4559B5
split-complementary
#B54591 #59B545 #45B5A1
monochromatic
#5C234A #89346E #B54591 #C86FAC #D99BC5

Accessibility & contrast

On white

4.97
#B54591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B54591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54591
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54591#FFFFFF#000000##FFFFFF
##B545911.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#C04665
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54591;
/* rgb */ color: rgb(181, 69, 145);
/* oklch */ color: oklch(56.6% 0.168 342.3);
Tailwind
colors: {
  custom: {
    50: '#ce7fb1',
    500: '#b54591',
    950: '#000000',
  },
}
SCSS
$custom: #b54591;
$custom-light: #ce7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54591",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 319.286,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.16811,
    "h": 342.3
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#B54591
secondary
#91C5A1
accent
#D57D53
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54591

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

Preview Lab → · Contrast checker → · Palette generator →

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