#B54081#B54081

#B54081 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.166 H 349.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B54081
RGBrgb(181, 64, 129)
HSLhsl(327, 48%, 48%)
HSVhsv(327, 65%, 71%)
CMYKcmyk(0%, 64.6%, 28.7%, 29%)
CIE-LABlab(45.74, 53.61, -11.56)
CIE-LCHlch(45.74, 54.84, 347.83°)
OKLaboklab(55.4% 0.1628 -0.0302)
OKLCHoklch(55.4% 0.166 349.5)
XYZxyz(24.8530, 15.0781, 22.3661)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54081 #40B574
analogous
#AE40B5 #B54081 #B54046
triadic
#B54081 #81B540 #4081B5
tetradic
#B54081 #B5AE40 #40B574 #4046B5
square
#B54081 #B5AE40 #40B574 #4046B5
split-complementary
#B54081 #46B540 #40B5AE
monochromatic
#5B2041 #883061 #B54081 #CA689F #DA96BB

Accessibility & contrast

On white

5.23
#B54081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B54081 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54081
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54081#FFFFFF#000000##FFFFFF
##B540811.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F83
Deuteranopia (green-blind)
#71747E
Tritanopia (blue-blind)
#C23B5B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b54081;
/* rgb */ color: rgb(181, 64, 129);
/* oklch */ color: oklch(55.4% 0.166 349.5);
Tailwind
colors: {
  custom: {
    50: '#cf7ca5',
    500: '#b54081',
    950: '#000000',
  },
}
SCSS
$custom: #b54081;
$custom-light: #cf7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54081",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 326.667,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.16558,
    "h": 349.5
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#B54081
secondary
#8BC5A5
accent
#D78C50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54081

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

Preview Lab → · Contrast checker → · Palette generator →

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