#BB4781#BB4781

#BB4781 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.1% C 0.161 H 352.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BB4781
RGBrgb(187, 71, 129)
HSLhsl(330, 46%, 51%)
HSVhsv(330, 62%, 73%)
CMYKcmyk(0%, 62%, 31%, 26.7%)
CIE-LABlab(47.83, 52.39, -8.32)
CIE-LCHlch(47.83, 53.04, 350.97°)
OKLaboklab(57.13% 0.1594 -0.0214)
OKLCHoklch(57.13% 0.161 352.3)
XYZxyz(26.7105, 16.6590, 22.5735)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4781 #47BB81
analogous
#BB47BB #BB4781 #BB4747
triadic
#BB4781 #81BB47 #4781BB
tetradic
#BB4781 #BBBB47 #47BB81 #4747BB
square
#BB4781 #BBBB47 #47BB81 #4747BB
split-complementary
#BB4781 #47BB47 #47BBBB
monochromatic
#632544 #903562 #BB4781 #CC74A0 #DCA0BE

Accessibility & contrast

On white

4.85
#BB4781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BB4781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4781
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4781#FFFFFF#000000##FFFFFF
##BB47811.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586483
Deuteranopia (green-blind)
#78797E
Tritanopia (blue-blind)
#C8415E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb4781;
/* rgb */ color: rgb(187, 71, 129);
/* oklch */ color: oklch(57.1% 0.161 352.3);
Tailwind
colors: {
  custom: {
    50: '#d381a5',
    500: '#bb4781',
    950: '#000000',
  },
}
SCSS
$custom: #bb4781;
$custom-light: #d381a5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4781",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 330,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.16085,
    "h": 352.3
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#BB4781
secondary
#95C9AF
accent
#D69452
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BB4781

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

Preview Lab → · Contrast checker → · Palette generator →

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