#B54971#B54971

#B54971 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.9% C 0.145 H 359.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B54971
RGBrgb(181, 73, 113)
HSLhsl(338, 43%, 50%)
HSVhsv(338, 60%, 71%)
CMYKcmyk(0%, 59.7%, 37.6%, 29%)
CIE-LABlab(46.69, 47.65, -0.41)
CIE-LCHlch(46.69, 47.65, 359.51°)
OKLaboklab(55.93% 0.1454 -0.0005)
OKLCHoklch(55.93% 0.145 359.8)
XYZxyz(24.4206, 15.7837, 17.3801)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54971 #49B58D
analogous
#B549A7 #B54971 #B55749
triadic
#B54971 #71B549 #4971B5
tetradic
#B54971 #A7B549 #49B58D #5749B5
square
#B54971 #A7B549 #49B58D #5749B5
split-complementary
#B54971 #49B557 #49A7B5
monochromatic
#5E263B #893756 #B54971 #C77493 #D9A0B5

Accessibility & contrast

On white

5.05
#B54971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B54971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54971
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54971#FFFFFF#000000##FFFFFF
##B549711.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#78766E
Tritanopia (blue-blind)
#C33F58
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54971;
/* rgb */ color: rgb(181, 73, 113);
/* oklch */ color: oklch(55.9% 0.145 359.8);
Tailwind
colors: {
  custom: {
    50: '#cf8199',
    500: '#b54971',
    950: '#000000',
  },
}
SCSS
$custom: #b54971;
$custom-light: #cf8199;
$custom-dark: #000000;
JSON
{
  "hex": "#b54971",
  "rgb": {
    "r": 181,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 337.778,
    "s": 42.52,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.14537,
    "h": 359.8
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#B54971
secondary
#94C5B3
accent
#D2A455
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B54971

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

Preview Lab → · Contrast checker → · Palette generator →

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