#BB408C#BB408C

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

Color values

HEX#BB408C
RGBrgb(187, 64, 140)
HSLhsl(323, 49%, 49%)
HSVhsv(323, 66%, 73%)
CMYKcmyk(0%, 65.8%, 25.1%, 26.7%)
CIE-LABlab(47.14, 56.77, -16.00)
CIE-LCHlch(47.14, 58.98, 344.26°)
OKLaboklab(56.76% 0.1715 -0.0423)
OKLCHoklch(56.76% 0.177 346.1)
XYZxyz(27.0616, 16.1278, 26.4936)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB408C #40BB6F
analogous
#AD40BB #BB408C #BB404F
triadic
#BB408C #8CBB40 #408CBB
tetradic
#BB408C #BBAD40 #40BB6F #404FBB
square
#BB408C #BBAD40 #40BB6F #404FBB
split-complementary
#BB408C #4FBB40 #40BBAD
monochromatic
#602148 #8D306A #BB408C #CD6CA8 #DC99C3

Accessibility & contrast

On white

4.97
#BB408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB408C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB408C#FFFFFF#000000##FFFFFF
##BB408C1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628E
Deuteranopia (green-blind)
#727789
Tritanopia (blue-blind)
#C73E60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb408c;
/* rgb */ color: rgb(187, 64, 140);
/* oklch */ color: oklch(56.8% 0.177 346.1);
Tailwind
colors: {
  custom: {
    50: '#d37dad',
    500: '#bb408c',
    950: '#000000',
  },
}
SCSS
$custom: #bb408c;
$custom-light: #d37dad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb408c",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 322.927,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.17668,
    "h": 346.1
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB408C

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

Preview Lab → · Contrast checker → · Palette generator →

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