#B54593#B54593

#B54593 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.169 H 341.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B54593
RGBrgb(181, 69, 147)
HSLhsl(318, 45%, 49%)
HSVhsv(318, 62%, 71%)
CMYKcmyk(0%, 61.9%, 18.8%, 29%)
CIE-LABlab(47.22, 53.94, -20.16)
CIE-LCHlch(47.22, 57.58, 339.50°)
OKLaboklab(56.72% 0.1606 -0.054)
OKLCHoklch(56.72% 0.169 341.4)
XYZxyz(26.4513, 16.1889, 29.3298)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54593 #45B567
analogous
#9F45B5 #B54593 #B5455B
triadic
#B54593 #93B545 #4593B5
tetradic
#B54593 #B59F45 #45B567 #455BB5
square
#B54593 #B59F45 #45B567 #455BB5
split-complementary
#B54593 #5BB545 #45B59F
monochromatic
#5C234B #89346F #B54593 #C86FAD #D99BC6

Accessibility & contrast

On white

4.96
#B54593 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B54593
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54593#FFFFFF#000000##FFFFFF
##B545931.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6495
Deuteranopia (green-blind)
#6E7790
Tritanopia (blue-blind)
#BF4766
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b54593;
/* rgb */ color: rgb(181, 69, 147);
/* oklch */ color: oklch(56.7% 0.169 341.4);
Tailwind
colors: {
  custom: {
    50: '#ce7fb3',
    500: '#b54593',
    950: '#000000',
  },
}
SCSS
$custom: #b54593;
$custom-light: #ce7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#b54593",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 147
  },
  "hsl": {
    "h": 318.214,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.16946,
    "h": 341.4
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#B54593
secondary
#91C5A1
accent
#D57B53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54593

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

Preview Lab → · Contrast checker → · Palette generator →

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