#B54571#B54571

#B54571 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.151 H 358.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B54571
RGBrgb(181, 69, 113)
HSLhsl(336, 45%, 49%)
HSVhsv(336, 62%, 71%)
CMYKcmyk(0%, 61.9%, 37.6%, 29%)
CIE-LABlab(46.01, 49.48, -1.40)
CIE-LCHlch(46.01, 49.50, 358.38°)
OKLaboklab(55.43% 0.1511 -0.0031)
OKLCHoklch(55.43% 0.151 358.8)
XYZxyz(24.1662, 15.2749, 17.2953)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54571 #45B589
analogous
#B545A9 #B54571 #B55145
triadic
#B54571 #71B545 #4571B5
tetradic
#B54571 #A9B545 #45B589 #5145B5
square
#B54571 #A9B545 #45B589 #5145B5
split-complementary
#B54571 #45B551 #45A9B5
monochromatic
#5C233A #893455 #B54571 #C86F92 #D99BB4

Accessibility & contrast

On white

5.18
#B54571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B54571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54571
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54571#FFFFFF#000000##FFFFFF
##B545711.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#C33B56
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b54571;
/* rgb */ color: rgb(181, 69, 113);
/* oklch */ color: oklch(55.4% 0.151 358.8);
Tailwind
colors: {
  custom: {
    50: '#cf7f99',
    500: '#b54571',
    950: '#000000',
  },
}
SCSS
$custom: #b54571;
$custom-light: #cf7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#b54571",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 336.429,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.15112,
    "h": 358.8
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#B54571
secondary
#91C5B1
accent
#D5A253
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B54571

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

Preview Lab → · Contrast checker → · Palette generator →

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