#BB417F#BB417F

#BB417F is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.168 H 352.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB417F
RGBrgb(187, 65, 127)
HSLhsl(330, 48%, 49%)
HSVhsv(330, 65%, 73%)
CMYKcmyk(0%, 65.2%, 32.1%, 26.7%)
CIE-LABlab(46.82, 54.71, -8.62)
CIE-LCHlch(46.82, 55.38, 351.04°)
OKLaboklab(56.36% 0.1668 -0.0222)
OKLCHoklch(56.36% 0.168 352.4)
XYZxyz(26.2159, 15.8805, 21.7592)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB417F #41BB7D
analogous
#BA41BB #BB417F #BB4142
triadic
#BB417F #7FBB41 #417FBB
tetradic
#BB417F #BBBA41 #41BB7D #4142BB
square
#BB417F #BBBA41 #41BB7D #4142BB
split-complementary
#BB417F #42BB41 #41BBBA
monochromatic
#602141 #8E3160 #BB417F #CC6D9D #DC9ABC

Accessibility & contrast

On white

5.03
#BB417F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BB417F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB417F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB417F#FFFFFF#000000##FFFFFF
##BB417F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#76777C
Tritanopia (blue-blind)
#C9395A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb417f;
/* rgb */ color: rgb(187, 65, 127);
/* oklch */ color: oklch(56.4% 0.168 352.4);
Tailwind
colors: {
  custom: {
    50: '#d37da4',
    500: '#bb417f',
    950: '#000000',
  },
}
SCSS
$custom: #bb417f;
$custom-light: #d37da4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb417f",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 329.508,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.16829,
    "h": 352.4
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#BB417F
secondary
#90C8AB
accent
#D89350
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BB417F

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

Preview Lab → · Contrast checker → · Palette generator →

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