#BB5786#BB5786

#BB5786 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.4% C 0.139 H 352.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BB5786
RGBrgb(187, 87, 134)
HSLhsl(332, 42%, 54%)
HSVhsv(332, 53%, 73%)
CMYKcmyk(0%, 53.5%, 28.3%, 26.7%)
CIE-LABlab(50.81, 45.53, -6.87)
CIE-LCHlch(50.81, 46.05, 351.42°)
OKLaboklab(59.41% 0.1378 -0.0176)
OKLCHoklch(59.41% 0.139 352.7)
XYZxyz(28.2059, 19.1050, 24.7518)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5786 #57BB8C
analogous
#BB57B8 #BB5786 #BB5A57
triadic
#BB5786 #86BB57 #5786BB
tetradic
#BB5786 #B8BB57 #57BB8C #5A57BB
square
#BB5786 #B8BB57 #57BB8C #5A57BB
split-complementary
#BB5786 #57BB5A #57B8BB
monochromatic
#6C2C4A #973D68 #BB5786 #CD83A5 #DEAEC5

Accessibility & contrast

On white

4.36
#BB5786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BB5786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5786
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5786#FFFFFF#000000##000000
##BB57861.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E88
Deuteranopia (green-blind)
#7E8084
Tritanopia (blue-blind)
#C75269
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb5786;
/* rgb */ color: rgb(187, 87, 134);
/* oklch */ color: oklch(59.4% 0.139 352.7);
Tailwind
colors: {
  custom: {
    50: '#d28aa9',
    500: '#bb5786',
    950: '#000000',
  },
}
SCSS
$custom: #bb5786;
$custom-light: #d28aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5786",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 331.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.13896,
    "h": 352.7
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#BB5786
secondary
#A2CCB8
accent
#D29856
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BB5786

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

Preview Lab → · Contrast checker → · Palette generator →

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