#BB5871#BB5871

#BB5871 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 58.9% C 0.130 H 6.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB5871
RGBrgb(187, 88, 113)
HSLhsl(345, 42%, 54%)
HSVhsv(345, 53%, 73%)
CMYKcmyk(0%, 52.9%, 39.6%, 26.7%)
CIE-LABlab(50.38, 42.42, 5.06)
CIE-LCHlch(50.38, 42.72, 6.80°)
OKLaboklab(58.88% 0.129 0.0136)
OKLCHoklch(58.88% 0.13 6)
XYZxyz(26.9654, 18.7392, 17.8165)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5871 #58BBA2
analogous
#BB58A3 #BB5871 #BB7158
triadic
#BB5871 #71BB58 #5871BB
tetradic
#BB5871 #A3BB58 #58BBA2 #7158BB
square
#BB5871 #A3BB58 #58BBA2 #7158BB
split-complementary
#BB5871 #58BB71 #58A3BB
monochromatic
#6C2C3C #983E55 #BB5871 #CD8396 #DEAFBB

Accessibility & contrast

On white

4.42
#BB5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5871
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5871#FFFFFF#000000##000000
##BB58711.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#847F6F
Tritanopia (blue-blind)
#C94E61
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb5871;
/* rgb */ color: rgb(187, 88, 113);
/* oklch */ color: oklch(58.9% 0.130 6.0);
Tailwind
colors: {
  custom: {
    50: '#d38a99',
    500: '#bb5871',
    950: '#000000',
  },
}
SCSS
$custom: #bb5871;
$custom-light: #d38a99;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5871",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 344.848,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.12967,
    "h": 6
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#BB5871
secondary
#A2CDC2
accent
#D2B356
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150C0E
muted
#837D7E

Preview Lab

Preview with #BB5871

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

Preview Lab → · Contrast checker → · Palette generator →

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