#B54178#B54178

#B54178 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.160 H 354.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B54178
RGBrgb(181, 65, 120)
HSLhsl(332, 47%, 48%)
HSVhsv(332, 64%, 71%)
CMYKcmyk(0%, 64.1%, 33.7%, 29%)
CIE-LABlab(45.58, 52.06, -6.31)
CIE-LCHlch(45.58, 52.44, 353.09°)
OKLaboklab(55.18% 0.1589 -0.016)
OKLCHoklch(55.18% 0.16 354.2)
XYZxyz(24.3378, 14.9631, 19.3721)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54178 #41B57E
analogous
#B541B2 #B54178 #B54441
triadic
#B54178 #78B541 #4178B5
tetradic
#B54178 #B2B541 #41B57E #4441B5
square
#B54178 #B2B541 #41B57E #4441B5
split-complementary
#B54178 #41B544 #41B2B5
monochromatic
#5B213C #88315A #B54178 #C96A97 #DA97B6

Accessibility & contrast

On white

5.26
#B54178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B54178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54178
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54178#FFFFFF#000000##FFFFFF
##B541781.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E7A
Deuteranopia (green-blind)
#737475
Tritanopia (blue-blind)
#C23957
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b54178;
/* rgb */ color: rgb(181, 65, 120);
/* oklch */ color: oklch(55.2% 0.160 354.2);
Tailwind
colors: {
  custom: {
    50: '#cf7c9e',
    500: '#b54178',
    950: '#000000',
  },
}
SCSS
$custom: #b54178;
$custom-light: #cf7c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b54178",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 331.552,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.15967,
    "h": 354.2
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#B54178
secondary
#8CC5AA
accent
#D79751
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B54178

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

Preview Lab → · Contrast checker → · Palette generator →

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