#BB417B#BB417B

#BB417B is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.166 H 354.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB417B
RGBrgb(187, 65, 123)
HSLhsl(331, 48%, 49%)
HSVhsv(331, 65%, 73%)
CMYKcmyk(0%, 65.2%, 34.2%, 26.7%)
CIE-LABlab(46.68, 54.23, -6.39)
CIE-LCHlch(46.68, 54.60, 353.27°)
OKLaboklab(56.22% 0.1656 -0.0162)
OKLCHoklch(56.22% 0.166 354.4)
XYZxyz(25.9604, 15.7783, 20.4134)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB417B #41BB81
analogous
#BB41B8 #BB417B #BB4441
triadic
#BB417B #7BBB41 #417BBB
tetradic
#BB417B #B8BB41 #41BB81 #4441BB
square
#BB417B #B8BB41 #41BB81 #4441BB
split-complementary
#BB417B #41BB44 #41B8BB
monochromatic
#60213F #8E315D #BB417B #CC6D9A #DC9ABA

Accessibility & contrast

On white

5.05
#BB417B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB417B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB417B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB417B#FFFFFF#000000##FFFFFF
##BB417B1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607D
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#C93859
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb417b;
/* rgb */ color: rgb(187, 65, 123);
/* oklch */ color: oklch(56.2% 0.166 354.4);
Tailwind
colors: {
  custom: {
    50: '#d37da1',
    500: '#bb417b',
    950: '#000000',
  },
}
SCSS
$custom: #bb417b;
$custom-light: #d37da1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb417b",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 331.475,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.16642,
    "h": 354.4
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#BB417B
secondary
#90C8AD
accent
#D89750
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BB417B

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

Preview Lab → · Contrast checker → · Palette generator →

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