#BB478C#BB478C

#BB478C is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.6% C 0.167 H 346.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB478C
RGBrgb(187, 71, 140)
HSLhsl(324, 46%, 51%)
HSVhsv(324, 62%, 73%)
CMYKcmyk(0%, 62%, 25.1%, 26.7%)
CIE-LABlab(48.22, 53.82, -14.36)
CIE-LCHlch(48.22, 55.70, 345.06°)
OKLaboklab(57.55% 0.1625 -0.0379)
OKLCHoklch(57.55% 0.167 346.9)
XYZxyz(27.4814, 16.9674, 26.6336)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB478C #47BB76
analogous
#B047BB #BB478C #BB4752
triadic
#BB478C #8CBB47 #478CBB
tetradic
#BB478C #BBB047 #47BB76 #4752BB
square
#BB478C #BBB047 #47BB76 #4752BB
split-complementary
#BB478C #52BB47 #47BBB0
monochromatic
#63254A #90356B #BB478C #CC74A8 #DCA0C4

Accessibility & contrast

On white

4.78
#BB478C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB478C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB478C#FFFFFF#000000##FFFFFF
##BB478C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb478c;
/* rgb */ color: rgb(187, 71, 140);
/* oklch */ color: oklch(57.6% 0.167 346.9);
Tailwind
colors: {
  custom: {
    50: '#d381ad',
    500: '#bb478c',
    950: '#000000',
  },
}
SCSS
$custom: #bb478c;
$custom-light: #d381ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb478c",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 324.31,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.16683,
    "h": 346.9
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB478C

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

Preview Lab → · Contrast checker → · Palette generator →

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