#BB408D#BB408D

#BB408D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.8% C 0.177 H 345.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB408D
RGBrgb(187, 64, 141)
HSLhsl(322, 49%, 49%)
HSVhsv(322, 66%, 73%)
CMYKcmyk(0%, 65.8%, 24.6%, 26.7%)
CIE-LABlab(47.18, 56.90, -16.54)
CIE-LCHlch(47.18, 59.26, 343.79°)
OKLaboklab(56.8% 0.1718 -0.0438)
OKLCHoklch(56.8% 0.177 345.7)
XYZxyz(27.1356, 16.1574, 26.8837)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB408D #40BB6E
analogous
#AC40BB #BB408D #BB4050
triadic
#BB408D #8DBB40 #408DBB
tetradic
#BB408D #BBAC40 #40BB6E #4050BB
square
#BB408D #BBAC40 #40BB6E #4050BB
split-complementary
#BB408D #50BB40 #40BBAC
monochromatic
#602148 #8D306B #BB408D #CD6CA8 #DC99C3

Accessibility & contrast

On white

4.96
#BB408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BB408D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB408D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB408D#FFFFFF#000000##FFFFFF
##BB408D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D638F
Deuteranopia (green-blind)
#71788A
Tritanopia (blue-blind)
#C73E61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb408d;
/* rgb */ color: rgb(187, 64, 141);
/* oklch */ color: oklch(56.8% 0.177 345.7);
Tailwind
colors: {
  custom: {
    50: '#d37dae',
    500: '#bb408d',
    950: '#000000',
  },
}
SCSS
$custom: #bb408d;
$custom-light: #d37dae;
$custom-dark: #000000;
JSON
{
  "hex": "#bb408d",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 322.439,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.568,
    "c": 0.17727,
    "h": 345.7
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#BB408D
secondary
#8FC8A4
accent
#D9834F
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB408D

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

Preview Lab → · Contrast checker → · Palette generator →

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