#B54597#B54597

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

Color values

HEX#B54597
RGBrgb(181, 69, 151)
HSLhsl(316, 45%, 49%)
HSVhsv(316, 62%, 71%)
CMYKcmyk(0%, 61.9%, 16.6%, 29%)
CIE-LABlab(47.39, 54.53, -22.30)
CIE-LCHlch(47.39, 58.91, 337.76°)
OKLaboklab(56.9% 0.1614 -0.06)
OKLCHoklch(56.9% 0.172 339.6)
XYZxyz(26.7706, 16.3167, 31.0117)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54597 #45B563
analogous
#9B45B5 #B54597 #B5455F
triadic
#B54597 #97B545 #4597B5
tetradic
#B54597 #B59B45 #45B563 #455FB5
square
#B54597 #B59B45 #45B563 #455FB5
split-complementary
#B54597 #5FB545 #45B59B
monochromatic
#5C234D #893472 #B54597 #C86FB0 #D99BC9

Accessibility & contrast

On white

4.93
#B54597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B54597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54597
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54597#FFFFFF#000000##FFFFFF
##B545971.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54597;
/* rgb */ color: rgb(181, 69, 151);
/* oklch */ color: oklch(56.9% 0.172 339.6);
Tailwind
colors: {
  custom: {
    50: '#ce7fb5',
    500: '#b54597',
    950: '#000000',
  },
}
SCSS
$custom: #b54597;
$custom-light: #ce7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54597",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 316.071,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.17223,
    "h": 339.6
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#B54597
secondary
#91C59F
accent
#D57653
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #B54597

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

Preview Lab → · Contrast checker → · Palette generator →

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