#B54286#B54286

#B54286 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.166 H 347.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B54286
RGBrgb(181, 66, 134)
HSLhsl(325, 47%, 48%)
HSVhsv(325, 64%, 71%)
CMYKcmyk(0%, 63.5%, 26%, 29%)
CIE-LABlab(46.24, 53.41, -13.84)
CIE-LCHlch(46.24, 55.17, 345.47°)
OKLaboklab(55.83% 0.1615 -0.0365)
OKLCHoklch(55.83% 0.166 347.3)
XYZxyz(25.3083, 15.4439, 24.1978)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54286 #42B571
analogous
#AA42B5 #B54286 #B5424C
triadic
#B54286 #86B542 #4286B5
tetradic
#B54286 #B5AA42 #42B571 #424CB5
square
#B54286 #B5AA42 #42B571 #424CB5
split-complementary
#B54286 #4CB542 #42B5AA
monochromatic
#5B2144 #883265 #B54286 #C96BA3 #D998BF

Accessibility & contrast

On white

5.14
#B54286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B54286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54286
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54286#FFFFFF#000000##FFFFFF
##B542861.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#707583
Tritanopia (blue-blind)
#C13F5E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b54286;
/* rgb */ color: rgb(181, 66, 134);
/* oklch */ color: oklch(55.8% 0.166 347.3);
Tailwind
colors: {
  custom: {
    50: '#cf7da9',
    500: '#b54286',
    950: '#000000',
  },
}
SCSS
$custom: #b54286;
$custom-light: #cf7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#b54286",
  "rgb": {
    "r": 181,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 324.522,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.16557,
    "h": 347.3
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#B54286
secondary
#8EC5A4
accent
#D68852
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B54286

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

Preview Lab → · Contrast checker → · Palette generator →

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