#BB47A3#BB47A3

#BB47A3 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.182 H 336.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB47A3
RGBrgb(187, 71, 163)
HSLhsl(312, 46%, 51%)
HSVhsv(312, 62%, 73%)
CMYKcmyk(0%, 62%, 12.8%, 26.7%)
CIE-LABlab(49.15, 57.16, -26.62)
CIE-LCHlch(49.15, 63.05, 335.02°)
OKLaboklab(58.54% 0.1673 -0.0722)
OKLCHoklch(58.54% 0.182 336.7)
XYZxyz(29.3580, 17.7180, 36.5169)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A3 #47BB5F
analogous
#9947BB #BB47A3 #BB4769
triadic
#BB47A3 #A3BB47 #47A3BB
tetradic
#BB47A3 #BB9947 #47BB5F #4769BB
square
#BB47A3 #BB9947 #47BB5F #4769BB
split-complementary
#BB47A3 #69BB47 #47BB99
monochromatic
#632556 #90357D #BB47A3 #CC74B9 #DCA0D0

Accessibility & contrast

On white

4.62
#BB47A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BB47A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB47A3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A3#FFFFFF#000000##FFFFFF
##BB47A31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA6
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#C44D6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb47a3;
/* rgb */ color: rgb(187, 71, 163);
/* oklch */ color: oklch(58.5% 0.182 336.7);
Tailwind
colors: {
  custom: {
    50: '#d281be',
    500: '#bb47a3',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a3;
$custom-light: #d281be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a3",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 312.414,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58544,
    "c": 0.18225,
    "h": 336.7
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#BB47A3
secondary
#95C9A0
accent
#D66D52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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