#B54180#B54180

#B54180 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.164 H 350.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B54180
RGBrgb(181, 65, 128)
HSLhsl(327, 47%, 48%)
HSVhsv(327, 64%, 71%)
CMYKcmyk(0%, 64.1%, 29.3%, 29%)
CIE-LABlab(45.86, 53.05, -10.77)
CIE-LCHlch(45.86, 54.14, 348.53°)
OKLaboklab(55.48% 0.1612 -0.028)
OKLCHoklch(55.48% 0.164 350.1)
XYZxyz(24.8438, 15.1654, 22.0367)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54180 #41B576
analogous
#B041B5 #B54180 #B54146
triadic
#B54180 #80B541 #4180B5
tetradic
#B54180 #B5B041 #41B576 #4146B5
square
#B54180 #B5B041 #41B576 #4146B5
split-complementary
#B54180 #46B541 #41B5B0
monochromatic
#5B2140 #883160 #B54180 #C96A9E #DA97BB

Accessibility & contrast

On white

5.21
#B54180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B54180 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54180
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54180#FFFFFF#000000##FFFFFF
##B541801.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516082
Deuteranopia (green-blind)
#71747D
Tritanopia (blue-blind)
#C23C5B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b54180;
/* rgb */ color: rgb(181, 65, 128);
/* oklch */ color: oklch(55.5% 0.164 350.1);
Tailwind
colors: {
  custom: {
    50: '#cf7da4',
    500: '#b54180',
    950: '#000000',
  },
}
SCSS
$custom: #b54180;
$custom-light: #cf7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#b54180",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 128
  },
  "hsl": {
    "h": 327.414,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55479,
    "c": 0.16364,
    "h": 350.1
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#B54180
secondary
#8CC5A6
accent
#D78E51
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54180

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

Preview Lab → · Contrast checker → · Palette generator →

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