#B54588#B54588

#B54588 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.3% C 0.162 H 346.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B54588
RGBrgb(181, 69, 136)
HSLhsl(324, 45%, 49%)
HSVhsv(324, 62%, 71%)
CMYKcmyk(0%, 61.9%, 24.9%, 29%)
CIE-LABlab(46.79, 52.38, -14.21)
CIE-LCHlch(46.79, 54.27, 344.82°)
OKLaboklab(56.26% 0.158 -0.0375)
OKLCHoklch(56.26% 0.162 346.7)
XYZxyz(25.6290, 15.8600, 24.9993)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54588 #45B572
analogous
#AA45B5 #B54588 #B54550
triadic
#B54588 #88B545 #4588B5
tetradic
#B54588 #B5AA45 #45B572 #4550B5
square
#B54588 #B5AA45 #45B572 #4550B5
split-complementary
#B54588 #50B545 #45B5AA
monochromatic
#5C2345 #893467 #B54588 #C86FA4 #D99BC0

Accessibility & contrast

On white

5.03
#B54588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B54588
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54588#FFFFFF#000000##FFFFFF
##B545881.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638A
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#C14360
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54588;
/* rgb */ color: rgb(181, 69, 136);
/* oklch */ color: oklch(56.3% 0.162 346.7);
Tailwind
colors: {
  custom: {
    50: '#ce7faa',
    500: '#b54588',
    950: '#000000',
  },
}
SCSS
$custom: #b54588;
$custom-light: #ce7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#b54588",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 324.107,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.1624,
    "h": 346.7
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B54588

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

Preview Lab → · Contrast checker → · Palette generator →

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