#BB47A5#BB47A5

#BB47A5 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.184 H 335.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB47A5
RGBrgb(187, 71, 165)
HSLhsl(311, 46%, 51%)
HSVhsv(311, 62%, 73%)
CMYKcmyk(0%, 62%, 11.8%, 26.7%)
CIE-LABlab(49.24, 57.47, -27.67)
CIE-LCHlch(49.24, 63.78, 334.29°)
OKLaboklab(58.64% 0.1677 -0.0752)
OKLCHoklch(58.64% 0.184 335.9)
XYZxyz(29.5386, 17.7903, 37.4681)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A5 #47BB5D
analogous
#9747BB #BB47A5 #BB476B
triadic
#BB47A5 #A5BB47 #47A5BB
tetradic
#BB47A5 #BB9747 #47BB5D #476BBB
square
#BB47A5 #BB9747 #47BB5D #476BBB
split-complementary
#BB47A5 #6BBB47 #47BB97
monochromatic
#632557 #90357F #BB47A5 #CC74BB #DCA0D1

Accessibility & contrast

On white

4.61
#BB47A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BB47A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB47A5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A5#FFFFFF#000000##FFFFFF
##BB47A51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486AA8
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#C44E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb47a5;
/* rgb */ color: rgb(187, 71, 165);
/* oklch */ color: oklch(58.6% 0.184 335.9);
Tailwind
colors: {
  custom: {
    50: '#d281c0',
    500: '#bb47a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a5;
$custom-light: #d281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a5",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 311.379,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.18374,
    "h": 335.9
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#BB47A5
secondary
#95C99F
accent
#D66B52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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