#BB408A#BB408A

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

Color values

HEX#BB408A
RGBrgb(187, 64, 138)
HSLhsl(324, 49%, 49%)
HSVhsv(324, 66%, 73%)
CMYKcmyk(0%, 65.8%, 26.2%, 26.7%)
CIE-LABlab(47.07, 56.51, -14.91)
CIE-LCHlch(47.07, 58.44, 345.22°)
OKLaboklab(56.68% 0.1711 -0.0393)
OKLCHoklch(56.68% 0.176 347.1)
XYZxyz(26.9154, 16.0693, 25.7240)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB408A #40BB71
analogous
#AF40BB #BB408A #BB404D
triadic
#BB408A #8ABB40 #408ABB
tetradic
#BB408A #BBAF40 #40BB71 #404DBB
square
#BB408A #BBAF40 #40BB71 #404DBB
split-complementary
#BB408A #4DBB40 #40BBAF
monochromatic
#602147 #8D3068 #BB408A #CD6CA6 #DC99C2

Accessibility & contrast

On white

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

On black

4.21
#BB408A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB408A#FFFFFF#000000##FFFFFF
##BB408A1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#C83D5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb408a;
/* rgb */ color: rgb(187, 64, 138);
/* oklch */ color: oklch(56.7% 0.176 347.1);
Tailwind
colors: {
  custom: {
    50: '#d37dac',
    500: '#bb408a',
    950: '#000000',
  },
}
SCSS
$custom: #bb408a;
$custom-light: #d37dac;
$custom-dark: #000000;
JSON
{
  "hex": "#bb408a",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 323.902,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.17551,
    "h": 347.1
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#BB408A
secondary
#8FC8A6
accent
#D9864F
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB408A

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

Preview Lab → · Contrast checker → · Palette generator →

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