#B54F82#B54F82

#B54F82 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.144 H 351.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B54F82
RGBrgb(181, 79, 130)
HSLhsl(330, 41%, 51%)
HSVhsv(330, 56%, 71%)
CMYKcmyk(0%, 56.4%, 28.2%, 29%)
CIE-LABlab(48.30, 46.94, -8.32)
CIE-LCHlch(48.30, 47.67, 349.95°)
OKLaboklab(57.31% 0.1422 -0.0215)
OKLCHoklch(57.31% 0.144 351.4)
XYZxyz(25.8823, 17.0299, 23.0388)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54F82 #4FB582
analogous
#B54FB5 #B54F82 #B54F4F
triadic
#B54F82 #82B54F #4F82B5
tetradic
#B54F82 #B5B54F #4FB582 #4F4FB5
square
#B54F82 #B5B54F #4FB582 #4F4FB5
split-complementary
#B54F82 #4FB54F #4FB5B5
monochromatic
#612945 #8C3B63 #B54F82 #C77AA1 #D9A5BF

Accessibility & contrast

On white

4.77
#B54F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B54F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54F82
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54F82#FFFFFF#000000##FFFFFF
##B54F821.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6784
Deuteranopia (green-blind)
#777980
Tritanopia (blue-blind)
#C14B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b54f82;
/* rgb */ color: rgb(181, 79, 130);
/* oklch */ color: oklch(57.3% 0.144 351.4);
Tailwind
colors: {
  custom: {
    50: '#ce85a6',
    500: '#b54f82',
    950: '#000000',
  },
}
SCSS
$custom: #b54f82;
$custom-light: #ce85a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b54f82",
  "rgb": {
    "r": 181,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 330,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.14377,
    "h": 351.4
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#B54F82
secondary
#99C6B0
accent
#D19457
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B54F82

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

Preview Lab → · Contrast checker → · Palette generator →

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