#B54587#B54587

#B54587 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.162 H 347.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B54587
RGBrgb(181, 69, 135)
HSLhsl(325, 45%, 49%)
HSVhsv(325, 62%, 71%)
CMYKcmyk(0%, 61.9%, 25.4%, 29%)
CIE-LABlab(46.75, 52.24, -13.66)
CIE-LCHlch(46.75, 54.00, 345.34°)
OKLaboklab(56.22% 0.1578 -0.036)
OKLCHoklch(56.22% 0.162 347.1)
XYZxyz(25.5583, 15.8317, 24.6268)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54587 #45B573
analogous
#AB45B5 #B54587 #B5454F
triadic
#B54587 #87B545 #4587B5
tetradic
#B54587 #B5AB45 #45B573 #454FB5
square
#B54587 #B5AB45 #45B573 #454FB5
split-complementary
#B54587 #4FB545 #45B5AB
monochromatic
#5C2345 #893466 #B54587 #C86FA4 #D99BC0

Accessibility & contrast

On white

5.04
#B54587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B54587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54587
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54587#FFFFFF#000000##FFFFFF
##B545871.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#717684
Tritanopia (blue-blind)
#C14260
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54587;
/* rgb */ color: rgb(181, 69, 135);
/* oklch */ color: oklch(56.2% 0.162 347.1);
Tailwind
colors: {
  custom: {
    50: '#ce7faa',
    500: '#b54587',
    950: '#000000',
  },
}
SCSS
$custom: #b54587;
$custom-light: #ce7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#b54587",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 324.643,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.16181,
    "h": 347.1
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#B54587
secondary
#91C5A6
accent
#D58853
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B54587

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

Preview Lab → · Contrast checker → · Palette generator →

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