#BB5178#BB5178

#BB5178 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.1% C 0.142 H 359.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BB5178
RGBrgb(187, 81, 120)
HSLhsl(338, 44%, 53%)
HSVhsv(338, 57%, 73%)
CMYKcmyk(0%, 56.7%, 35.8%, 26.7%)
CIE-LABlab(49.26, 46.68, -0.77)
CIE-LCHlch(49.26, 46.68, 359.06°)
OKLaboklab(58.11% 0.1422 -0.0014)
OKLCHoklch(58.11% 0.142 359.4)
XYZxyz(26.8275, 17.8085, 19.7902)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5178 #51BB94
analogous
#BB51AD #BB5178 #BB5F51
triadic
#BB5178 #78BB51 #5178BB
tetradic
#BB5178 #ADBB51 #51BB94 #5F51BB
square
#BB5178 #ADBB51 #51BB94 #5F51BB
split-complementary
#BB5178 #51BB5F #51ADBB
monochromatic
#692940 #953A5B #BB5178 #CC7D9A #DDA9BC

Accessibility & contrast

On white

4.60
#BB5178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BB5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB5178
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5178#FFFFFF#000000##FFFFFF
##BB51781.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#C94860
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb5178;
/* rgb */ color: rgb(187, 81, 120);
/* oklch */ color: oklch(58.1% 0.142 359.4);
Tailwind
colors: {
  custom: {
    50: '#d3869e',
    500: '#bb5178',
    950: '#000000',
  },
}
SCSS
$custom: #bb5178;
$custom-light: #d3869e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5178",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 337.925,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.1422,
    "h": 359.4
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

primary
#BB5178
secondary
#9DCBBA
accent
#D4A554
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB5178

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

Preview Lab → · Contrast checker → · Palette generator →

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