#B54071#B54071

#B54071 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.158 H 357.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B54071
RGBrgb(181, 64, 113)
HSLhsl(335, 48%, 48%)
HSVhsv(335, 65%, 71%)
CMYKcmyk(0%, 64.6%, 37.6%, 29%)
CIE-LABlab(45.20, 51.67, -2.59)
CIE-LCHlch(45.20, 51.73, 357.13°)
OKLaboklab(54.83% 0.158 -0.0061)
OKLCHoklch(54.83% 0.158 357.8)
XYZxyz(23.8715, 14.6855, 17.1970)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54071 #40B584
analogous
#B540AB #B54071 #B54A40
triadic
#B54071 #71B540 #4071B5
tetradic
#B54071 #ABB540 #40B584 #4A40B5
square
#B54071 #ABB540 #40B584 #4A40B5
split-complementary
#B54071 #40B54A #40ABB5
monochromatic
#5B2039 #883055 #B54071 #CA6891 #DA96B2

Accessibility & contrast

On white

5.33
#B54071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B54071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54071
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54071#FFFFFF#000000##FFFFFF
##B540711.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#C33554
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b54071;
/* rgb */ color: rgb(181, 64, 113);
/* oklch */ color: oklch(54.8% 0.158 357.8);
Tailwind
colors: {
  custom: {
    50: '#cf7c99',
    500: '#b54071',
    950: '#000000',
  },
}
SCSS
$custom: #b54071;
$custom-light: #cf7c99;
$custom-dark: #000000;
JSON
{
  "hex": "#b54071",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 334.872,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.15809,
    "h": 357.8
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#B54071
secondary
#8BC5AD
accent
#D79F50
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B54071

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

Preview Lab → · Contrast checker → · Palette generator →

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