#BB478F#BB478F

#BB478F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.7% C 0.169 H 345.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB478F
RGBrgb(187, 71, 143)
HSLhsl(323, 46%, 51%)
HSVhsv(323, 62%, 73%)
CMYKcmyk(0%, 62%, 23.5%, 26.7%)
CIE-LABlab(48.33, 54.23, -15.98)
CIE-LCHlch(48.33, 56.54, 343.58°)
OKLaboklab(57.67% 0.1632 -0.0423)
OKLCHoklch(57.67% 0.169 345.5)
XYZxyz(27.7056, 17.0571, 27.8145)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB478F #47BB73
analogous
#AD47BB #BB478F #BB4755
triadic
#BB478F #8FBB47 #478FBB
tetradic
#BB478F #BBAD47 #47BB73 #4755BB
square
#BB478F #BBAD47 #47BB73 #4755BB
split-complementary
#BB478F #55BB47 #47BBAD
monochromatic
#63254B #90356D #BB478F #CC74AA #DCA0C5

Accessibility & contrast

On white

4.76
#BB478F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BB478F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB478F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB478F#FFFFFF#000000##FFFFFF
##BB478F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536691
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#C74565
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb478f;
/* rgb */ color: rgb(187, 71, 143);
/* oklch */ color: oklch(57.7% 0.169 345.5);
Tailwind
colors: {
  custom: {
    50: '#d381b0',
    500: '#bb478f',
    950: '#000000',
  },
}
SCSS
$custom: #bb478f;
$custom-light: #d381b0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb478f",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 322.759,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.16863,
    "h": 345.5
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB478F

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

Preview Lab → · Contrast checker → · Palette generator →

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