#BB478B#BB478B

#BB478B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.5% C 0.166 H 347.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BB478B
RGBrgb(187, 71, 139)
HSLhsl(325, 46%, 51%)
HSVhsv(325, 62%, 73%)
CMYKcmyk(0%, 62%, 25.7%, 26.7%)
CIE-LABlab(48.18, 53.69, -13.81)
CIE-LCHlch(48.18, 55.43, 345.57°)
OKLaboklab(57.51% 0.1622 -0.0364)
OKLCHoklch(57.51% 0.166 347.4)
XYZxyz(27.4080, 16.9380, 26.2470)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB478B #47BB77
analogous
#B147BB #BB478B #BB4751
triadic
#BB478B #8BBB47 #478BBB
tetradic
#BB478B #BBB147 #47BB77 #4751BB
square
#BB478B #BBB147 #47BB77 #4751BB
split-complementary
#BB478B #51BB47 #47BBB1
monochromatic
#632549 #90356A #BB478B #CC74A7 #DCA0C3

Accessibility & contrast

On white

4.79
#BB478B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BB478B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB478B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB478B#FFFFFF#000000##FFFFFF
##BB478B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668D
Deuteranopia (green-blind)
#757A88
Tritanopia (blue-blind)
#C74463
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb478b;
/* rgb */ color: rgb(187, 71, 139);
/* oklch */ color: oklch(57.5% 0.166 347.4);
Tailwind
colors: {
  custom: {
    50: '#d381ad',
    500: '#bb478b',
    950: '#000000',
  },
}
SCSS
$custom: #bb478b;
$custom-light: #d381ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb478b",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 324.828,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.16624,
    "h": 347.4
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#BB478B
secondary
#95C9AA
accent
#D68952
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BB478B

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

Preview Lab → · Contrast checker → · Palette generator →

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