#B54291#B54291

#B54291 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.172 H 342.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B54291
RGBrgb(181, 66, 145)
HSLhsl(319, 47%, 48%)
HSVhsv(319, 64%, 71%)
CMYKcmyk(0%, 63.5%, 19.9%, 29%)
CIE-LABlab(46.67, 54.94, -19.81)
CIE-LCHlch(46.67, 58.40, 340.17°)
OKLaboklab(56.29% 0.1641 -0.053)
OKLCHoklch(56.29% 0.172 342.1)
XYZxyz(26.1158, 15.7669, 28.4505)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54291 #42B566
analogous
#9F42B5 #B54291 #B54257
triadic
#B54291 #91B542 #4291B5
tetradic
#B54291 #B59F42 #42B566 #4257B5
square
#B54291 #B59F42 #42B566 #4257B5
split-complementary
#B54291 #57B542 #42B59F
monochromatic
#5B2149 #88326D #B54291 #C96BAC #D998C5

Accessibility & contrast

On white

5.06
#B54291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B54291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54291
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54291#FFFFFF#000000##FFFFFF
##B542911.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6393
Deuteranopia (green-blind)
#6D758E
Tritanopia (blue-blind)
#C04363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54291;
/* rgb */ color: rgb(181, 66, 145);
/* oklch */ color: oklch(56.3% 0.172 342.1);
Tailwind
colors: {
  custom: {
    50: '#ce7eb1',
    500: '#b54291',
    950: '#000000',
  },
}
SCSS
$custom: #b54291;
$custom-light: #ce7eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#b54291",
  "rgb": {
    "r": 181,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 318.783,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.17245,
    "h": 342.1
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#B54291
secondary
#8EC59F
accent
#D67B52
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B54291

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

Preview Lab → · Contrast checker → · Palette generator →

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