#BB408B#BB408B

#BB408B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.7% C 0.176 H 346.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BB408B
RGBrgb(187, 64, 139)
HSLhsl(323, 49%, 49%)
HSVhsv(323, 66%, 73%)
CMYKcmyk(0%, 65.8%, 25.7%, 26.7%)
CIE-LABlab(47.10, 56.64, -15.45)
CIE-LCHlch(47.10, 58.71, 344.74°)
OKLaboklab(56.72% 0.1713 -0.0408)
OKLCHoklch(56.72% 0.176 346.6)
XYZxyz(26.9882, 16.0984, 26.1071)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB408B #40BB70
analogous
#AE40BB #BB408B #BB404D
triadic
#BB408B #8BBB40 #408BBB
tetradic
#BB408B #BBAE40 #40BB70 #404DBB
square
#BB408B #BBAE40 #40BB70 #404DBB
split-complementary
#BB408B #4DBB40 #40BBAE
monochromatic
#602147 #8D3069 #BB408B #CD6CA7 #DC99C2

Accessibility & contrast

On white

4.98
#BB408B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BB408B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB408B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB408B#FFFFFF#000000##FFFFFF
##BB408B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628D
Deuteranopia (green-blind)
#727788
Tritanopia (blue-blind)
#C73D60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb408b;
/* rgb */ color: rgb(187, 64, 139);
/* oklch */ color: oklch(56.7% 0.176 346.6);
Tailwind
colors: {
  custom: {
    50: '#d37dad',
    500: '#bb408b',
    950: '#000000',
  },
}
SCSS
$custom: #bb408b;
$custom-light: #d37dad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb408b",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 323.415,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56718,
    "c": 0.1761,
    "h": 346.6
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#BB408B
secondary
#8FC8A5
accent
#D9854F
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB408B

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

Preview Lab → · Contrast checker → · Palette generator →

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