#BB478A#BB478A

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

Color values

HEX#BB478A
RGBrgb(187, 71, 138)
HSLhsl(325, 46%, 51%)
HSVhsv(325, 62%, 73%)
CMYKcmyk(0%, 62%, 26.2%, 26.7%)
CIE-LABlab(48.15, 53.55, -13.27)
CIE-LCHlch(48.15, 55.17, 346.08°)
OKLaboklab(57.47% 0.162 -0.0349)
OKLCHoklch(57.47% 0.166 347.8)
XYZxyz(27.3353, 16.9089, 25.8640)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB478A #47BB78
analogous
#B247BB #BB478A #BB4750
triadic
#BB478A #8ABB47 #478ABB
tetradic
#BB478A #BBB247 #47BB78 #4750BB
square
#BB478A #BBB247 #47BB78 #4750BB
split-complementary
#BB478A #50BB47 #47BBB2
monochromatic
#632549 #903569 #BB478A #CC74A6 #DCA0C3

Accessibility & contrast

On white

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

On black

4.38
#BB478A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB478A#FFFFFF#000000##FFFFFF
##BB478A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#757A87
Tritanopia (blue-blind)
#C74462
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb478a;
/* rgb */ color: rgb(187, 71, 138);
/* oklch */ color: oklch(57.5% 0.166 347.8);
Tailwind
colors: {
  custom: {
    50: '#d381ac',
    500: '#bb478a',
    950: '#000000',
  },
}
SCSS
$custom: #bb478a;
$custom-light: #d381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#bb478a",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 325.345,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.16567,
    "h": 347.8
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#BB478A
secondary
#95C9AB
accent
#D68A52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BB478A

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

Preview Lab → · Contrast checker → · Palette generator →

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