#BB407B#BB407B

#BB407B is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.168 H 354.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB407B
RGBrgb(187, 64, 123)
HSLhsl(331, 49%, 49%)
HSVhsv(331, 66%, 73%)
CMYKcmyk(0%, 65.8%, 34.2%, 26.7%)
CIE-LABlab(46.53, 54.64, -6.62)
CIE-LCHlch(46.53, 55.04, 353.09°)
OKLaboklab(56.11% 0.1669 -0.0168)
OKLCHoklch(56.11% 0.168 354.3)
XYZxyz(25.9035, 15.6645, 20.3945)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB407B #40BB80
analogous
#BB40B9 #BB407B #BB4340
triadic
#BB407B #7BBB40 #407BBB
tetradic
#BB407B #B9BB40 #40BB80 #4340BB
square
#BB407B #B9BB40 #40BB80 #4340BB
split-complementary
#BB407B #40BB43 #40B9BB
monochromatic
#60213F #8D305D #BB407B #CD6C9A #DC99B9

Accessibility & contrast

On white

5.08
#BB407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BB407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB407B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB407B#FFFFFF#000000##FFFFFF
##BB407B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#767778
Tritanopia (blue-blind)
#C93758
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb407b;
/* rgb */ color: rgb(187, 64, 123);
/* oklch */ color: oklch(56.1% 0.168 354.3);
Tailwind
colors: {
  custom: {
    50: '#d47da1',
    500: '#bb407b',
    950: '#000000',
  },
}
SCSS
$custom: #bb407b;
$custom-light: #d47da1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb407b",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 331.22,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.16776,
    "h": 354.3
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#BB407B
secondary
#8FC8AD
accent
#D9974F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BB407B

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

Preview Lab → · Contrast checker → · Palette generator →

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