#BB478D#BB478D

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

Color values

HEX#BB478D
RGBrgb(187, 71, 141)
HSLhsl(324, 46%, 51%)
HSVhsv(324, 62%, 73%)
CMYKcmyk(0%, 62%, 24.6%, 26.7%)
CIE-LABlab(48.26, 53.96, -14.90)
CIE-LCHlch(48.26, 55.98, 344.56°)
OKLaboklab(57.59% 0.1627 -0.0394)
OKLCHoklch(57.59% 0.167 346.4)
XYZxyz(27.5555, 16.9970, 27.0237)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB478D #47BB75
analogous
#AF47BB #BB478D #BB4753
triadic
#BB478D #8DBB47 #478DBB
tetradic
#BB478D #BBAF47 #47BB75 #4753BB
square
#BB478D #BBAF47 #47BB75 #4753BB
split-complementary
#BB478D #53BB47 #47BBAF
monochromatic
#63254A #90356C #BB478D #CC74A9 #DCA0C4

Accessibility & contrast

On white

4.77
#BB478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BB478D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB478D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB478D#FFFFFF#000000##FFFFFF
##BB478D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#747A8A
Tritanopia (blue-blind)
#C74564
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb478d;
/* rgb */ color: rgb(187, 71, 141);
/* oklch */ color: oklch(57.6% 0.167 346.4);
Tailwind
colors: {
  custom: {
    50: '#d381ae',
    500: '#bb478d',
    950: '#000000',
  },
}
SCSS
$custom: #bb478d;
$custom-light: #d381ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bb478d",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 323.793,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.16742,
    "h": 346.4
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB478D

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

Preview Lab → · Contrast checker → · Palette generator →

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