#B54891#B54891

#B54891 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.0% C 0.164 H 342.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B54891
RGBrgb(181, 72, 145)
HSLhsl(320, 43%, 50%)
HSVhsv(320, 60%, 71%)
CMYKcmyk(0%, 60.2%, 19.9%, 29%)
CIE-LABlab(47.63, 52.31, -18.34)
CIE-LCHlch(47.63, 55.43, 340.68°)
OKLaboklab(57% 0.1562 -0.049)
OKLCHoklch(57% 0.164 342.6)
XYZxyz(26.4849, 16.5052, 28.5735)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54891 #48B56C
analogous
#A348B5 #B54891 #B5485A
triadic
#B54891 #91B548 #4891B5
tetradic
#B54891 #B5A348 #48B56C #485AB5
square
#B54891 #B5A348 #48B56C #485AB5
split-complementary
#B54891 #5AB548 #48B5A3
monochromatic
#5D254B #89376E #B54891 #C773AB #D99FC6

Accessibility & contrast

On white

4.88
#B54891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B54891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54891
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54891#FFFFFF#000000##FFFFFF
##B548911.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506693
Deuteranopia (green-blind)
#70788E
Tritanopia (blue-blind)
#C04966
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b54891;
/* rgb */ color: rgb(181, 72, 145);
/* oklch */ color: oklch(57.0% 0.164 342.6);
Tailwind
colors: {
  custom: {
    50: '#ce81b1',
    500: '#b54891',
    950: '#000000',
  },
}
SCSS
$custom: #b54891;
$custom-light: #ce81b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54891",
  "rgb": {
    "r": 181,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 319.817,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.16365,
    "h": 342.6
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#B54891
secondary
#93C5A4
accent
#D37F55
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B54891

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

Preview Lab → · Contrast checker → · Palette generator →

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