#BB4082#BB4082

#BB4082 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.4% C 0.171 H 350.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB4082
RGBrgb(187, 64, 130)
HSLhsl(328, 49%, 49%)
HSVhsv(328, 66%, 73%)
CMYKcmyk(0%, 65.8%, 30.5%, 26.7%)
CIE-LABlab(46.77, 55.49, -10.51)
CIE-LCHlch(46.77, 56.47, 349.27°)
OKLaboklab(56.37% 0.169 -0.0273)
OKLCHoklch(56.37% 0.171 350.8)
XYZxyz(26.3575, 15.8461, 22.7853)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4082 #40BB79
analogous
#B740BB #BB4082 #BB4045
triadic
#BB4082 #82BB40 #4082BB
tetradic
#BB4082 #BBB740 #40BB79 #4045BB
square
#BB4082 #BBB740 #40BB79 #4045BB
split-complementary
#BB4082 #45BB40 #40BBB7
monochromatic
#602143 #8D3062 #BB4082 #CD6CA0 #DC99BD

Accessibility & contrast

On white

5.04
#BB4082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB4082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4082
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4082#FFFFFF#000000##FFFFFF
##BB40821.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526184
Deuteranopia (green-blind)
#74777F
Tritanopia (blue-blind)
#C83A5B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb4082;
/* rgb */ color: rgb(187, 64, 130);
/* oklch */ color: oklch(56.4% 0.171 350.8);
Tailwind
colors: {
  custom: {
    50: '#d37da6',
    500: '#bb4082',
    950: '#000000',
  },
}
SCSS
$custom: #bb4082;
$custom-light: #d37da6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4082",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 327.805,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.17115,
    "h": 350.8
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#BB4082
secondary
#8FC8A9
accent
#D98F4F
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BB4082

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

Preview Lab → · Contrast checker → · Palette generator →

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