#B54586#B54586

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

Color values

HEX#B54586
RGBrgb(181, 69, 134)
HSLhsl(325, 45%, 49%)
HSVhsv(325, 62%, 71%)
CMYKcmyk(0%, 61.9%, 26%, 29%)
CIE-LABlab(46.72, 52.10, -13.11)
CIE-LCHlch(46.72, 53.73, 345.87°)
OKLaboklab(56.18% 0.1575 -0.0345)
OKLCHoklch(56.18% 0.161 347.7)
XYZxyz(25.4882, 15.8037, 24.2577)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54586 #45B574
analogous
#AC45B5 #B54586 #B5454E
triadic
#B54586 #86B545 #4586B5
tetradic
#B54586 #B5AC45 #45B574 #454EB5
square
#B54586 #B5AC45 #45B574 #454EB5
split-complementary
#B54586 #4EB545 #45B5AC
monochromatic
#5C2344 #893465 #B54586 #C86FA3 #D99BBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B54586#FFFFFF#000000##FFFFFF
##B545861.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)
#526288
Deuteranopia (green-blind)
#717683
Tritanopia (blue-blind)
#C14260
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b54586;
/* rgb */ color: rgb(181, 69, 134);
/* oklch */ color: oklch(56.2% 0.161 347.7);
Tailwind
colors: {
  custom: {
    50: '#ce7fa9',
    500: '#b54586',
    950: '#000000',
  },
}
SCSS
$custom: #b54586;
$custom-light: #ce7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54586",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 325.179,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.16122,
    "h": 347.7
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#B54586
secondary
#91C5A7
accent
#D58A53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54586

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

Preview Lab → · Contrast checker → · Palette generator →

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