#B54181#B54181

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

Color values

HEX#B54181
RGBrgb(181, 65, 129)
HSLhsl(327, 47%, 48%)
HSVhsv(327, 64%, 71%)
CMYKcmyk(0%, 64.1%, 28.7%, 29%)
CIE-LABlab(45.90, 53.18, -11.32)
CIE-LCHlch(45.90, 54.37, 347.98°)
OKLaboklab(55.52% 0.1615 -0.0295)
OKLCHoklch(55.52% 0.164 349.6)
XYZxyz(24.9099, 15.1919, 22.3851)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54181 #41B575
analogous
#AF41B5 #B54181 #B54147
triadic
#B54181 #81B541 #4181B5
tetradic
#B54181 #B5AF41 #41B575 #4147B5
square
#B54181 #B5AF41 #41B575 #4147B5
split-complementary
#B54181 #47B541 #41B5AF
monochromatic
#5B2141 #883161 #B54181 #C96A9F #DA97BC

Accessibility & contrast

On white

5.20
#B54181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B54181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54181
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54181#FFFFFF#000000##FFFFFF
##B541811.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b54181;
/* rgb */ color: rgb(181, 65, 129);
/* oklch */ color: oklch(55.5% 0.164 349.6);
Tailwind
colors: {
  custom: {
    50: '#cf7da5',
    500: '#b54181',
    950: '#000000',
  },
}
SCSS
$custom: #b54181;
$custom-light: #cf7da5;
$custom-dark: #000000;
JSON
{
  "hex": "#b54181",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 326.897,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.16417,
    "h": 349.6
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54181

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

Preview Lab → · Contrast checker → · Palette generator →

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