#BB4878#BB4878

#BB4878 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.155 H 357.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB4878
RGBrgb(187, 72, 120)
HSLhsl(335, 46%, 51%)
HSVhsv(335, 61%, 73%)
CMYKcmyk(0%, 61.5%, 35.8%, 26.7%)
CIE-LABlab(47.70, 50.85, -3.07)
CIE-LCHlch(47.70, 50.94, 356.55°)
OKLaboklab(56.94% 0.1552 -0.0074)
OKLCHoklch(56.94% 0.155 357.3)
XYZxyz(26.2025, 16.5584, 19.5819)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4878 #48BB8B
analogous
#BB48B1 #BB4878 #BB5148
triadic
#BB4878 #78BB48 #4878BB
tetradic
#BB4878 #B1BB48 #48BB8B #5148BB
square
#BB4878 #B1BB48 #48BB8B #5148BB
split-complementary
#BB4878 #48BB51 #48B1BB
monochromatic
#64253F #90365B #BB4878 #CC7599 #DCA1BA

Accessibility & contrast

On white

4.87
#BB4878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BB4878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4878
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4878#FFFFFF#000000##FFFFFF
##BB48781.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6479
Deuteranopia (green-blind)
#7A7975
Tritanopia (blue-blind)
#C93F5B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb4878;
/* rgb */ color: rgb(187, 72, 120);
/* oklch */ color: oklch(56.9% 0.155 357.3);
Tailwind
colors: {
  custom: {
    50: '#d3819e',
    500: '#bb4878',
    950: '#000000',
  },
}
SCSS
$custom: #bb4878;
$custom-light: #d3819e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4878",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 334.957,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.15539,
    "h": 357.3
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#BB4878
secondary
#96C9B4
accent
#D59F52
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB4878

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

Preview Lab → · Contrast checker → · Palette generator →

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