#BB47A2#BB47A2

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

Color values

HEX#BB47A2
RGBrgb(187, 71, 162)
HSLhsl(313, 46%, 51%)
HSVhsv(313, 62%, 73%)
CMYKcmyk(0%, 62%, 13.4%, 26.7%)
CIE-LABlab(49.11, 57.00, -26.10)
CIE-LCHlch(49.11, 62.69, 335.40°)
OKLaboklab(58.5% 0.1672 -0.0707)
OKLCHoklch(58.5% 0.182 337.1)
XYZxyz(29.2687, 17.6823, 36.0469)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47A2 #47BB60
analogous
#9A47BB #BB47A2 #BB4768
triadic
#BB47A2 #A2BB47 #47A2BB
tetradic
#BB47A2 #BB9A47 #47BB60 #4768BB
square
#BB47A2 #BB9A47 #47BB60 #4768BB
split-complementary
#BB47A2 #68BB47 #47BB9A
monochromatic
#632556 #90357C #BB47A2 #CC74B9 #DCA0CF

Accessibility & contrast

On white

4.63
#BB47A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB47A2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47A2#FFFFFF#000000##FFFFFF
##BB47A21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#C44C6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb47a2;
/* rgb */ color: rgb(187, 71, 162);
/* oklch */ color: oklch(58.5% 0.182 337.1);
Tailwind
colors: {
  custom: {
    50: '#d281bd',
    500: '#bb47a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb47a2;
$custom-light: #d281bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47a2",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 312.931,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.18152,
    "h": 337.1
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#BB47A2
secondary
#95C9A0
accent
#D66E52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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