#BB478E#BB478E

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

Color values

HEX#BB478E
RGBrgb(187, 71, 142)
HSLhsl(323, 46%, 51%)
HSVhsv(323, 62%, 73%)
CMYKcmyk(0%, 62%, 24.1%, 26.7%)
CIE-LABlab(48.29, 54.09, -15.44)
CIE-LCHlch(48.29, 56.25, 344.07°)
OKLaboklab(57.63% 0.163 -0.0408)
OKLCHoklch(57.63% 0.168 345.9)
XYZxyz(27.6302, 17.0269, 27.4173)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB478E #47BB74
analogous
#AE47BB #BB478E #BB4754
triadic
#BB478E #8EBB47 #478EBB
tetradic
#BB478E #BBAE47 #47BB74 #4754BB
square
#BB478E #BBAE47 #47BB74 #4754BB
split-complementary
#BB478E #54BB47 #47BBAE
monochromatic
#63254B #90356D #BB478E #CC74A9 #DCA0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB478E#FFFFFF#000000##FFFFFF
##BB478E1.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)
#536690
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#C74564
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb478e;
/* rgb */ color: rgb(187, 71, 142);
/* oklch */ color: oklch(57.6% 0.168 345.9);
Tailwind
colors: {
  custom: {
    50: '#d381af',
    500: '#bb478e',
    950: '#000000',
  },
}
SCSS
$custom: #bb478e;
$custom-light: #d381af;
$custom-dark: #000000;
JSON
{
  "hex": "#bb478e",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 323.276,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.16802,
    "h": 345.9
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#BB478E
secondary
#95C9A9
accent
#D68552
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BB478E

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

Preview Lab → · Contrast checker → · Palette generator →

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