#BB3178#BB3178

#BB3178 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.185 H 353.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BB3178
RGBrgb(187, 49, 120)
HSLhsl(329, 58%, 46%)
HSVhsv(329, 74%, 73%)
CMYKcmyk(0%, 73.8%, 35.8%, 26.7%)
CIE-LABlab(44.41, 59.92, -7.96)
CIE-LCHlch(44.41, 60.45, 352.43°)
OKLaboklab(54.51% 0.1837 -0.0203)
OKLCHoklch(54.51% 0.185 353.7)
XYZxyz(24.9835, 14.1205, 19.1755)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3178 #31BB74
analogous
#B931BB #BB3178 #BB3133
triadic
#BB3178 #78BB31 #3178BB
tetradic
#BB3178 #BBB931 #31BB74 #3133BB
square
#BB3178 #BBB931 #31BB74 #3133BB
split-complementary
#BB3178 #33BB31 #31BBB9
monochromatic
#5A183A #8B2459 #BB3178 #D35696 #E087B4

Accessibility & contrast

On white

5.49
#BB3178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BB3178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3178
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3178#FFFFFF#000000##FFFFFF
##BB31781.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597A
Deuteranopia (green-blind)
#717275
Tritanopia (blue-blind)
#CA2450
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb3178;
/* rgb */ color: rgb(187, 49, 120);
/* oklch */ color: oklch(54.5% 0.185 353.7);
Tailwind
colors: {
  custom: {
    50: '#d4759f',
    500: '#bb3178',
    950: '#000000',
  },
}
SCSS
$custom: #bb3178;
$custom-light: #d4759f;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3178",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 329.13,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.18486,
    "h": 353.7
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#BB3178
secondary
#7FC9A3
accent
#E29246
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB3178

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

Preview Lab → · Contrast checker → · Palette generator →

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