#BB417C#BB417C

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

Color values

HEX#BB417C
RGBrgb(187, 65, 124)
HSLhsl(331, 48%, 49%)
HSVhsv(331, 65%, 73%)
CMYKcmyk(0%, 65.2%, 33.7%, 26.7%)
CIE-LABlab(46.72, 54.35, -6.95)
CIE-LCHlch(46.72, 54.79, 352.71°)
OKLaboklab(56.26% 0.1659 -0.0177)
OKLCHoklch(56.26% 0.167 353.9)
XYZxyz(26.0233, 15.8035, 20.7448)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB417C #41BB80
analogous
#BB41B9 #BB417C #BB4341
triadic
#BB417C #7CBB41 #417CBB
tetradic
#BB417C #B9BB41 #41BB80 #4341BB
square
#BB417C #B9BB41 #41BB80 #4341BB
split-complementary
#BB417C #41BB43 #41B9BB
monochromatic
#602140 #8E315E #BB417C #CC6D9B #DC9ABA

Accessibility & contrast

On white

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

On black

4.16
#BB417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB417C#FFFFFF#000000##FFFFFF
##BB417C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617E
Deuteranopia (green-blind)
#767779
Tritanopia (blue-blind)
#C93859
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb417c;
/* rgb */ color: rgb(187, 65, 124);
/* oklch */ color: oklch(56.3% 0.167 353.9);
Tailwind
colors: {
  custom: {
    50: '#d37da1',
    500: '#bb417c',
    950: '#000000',
  },
}
SCSS
$custom: #bb417c;
$custom-light: #d37da1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb417c",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 330.984,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.16687,
    "h": 353.9
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#BB417C
secondary
#90C8AD
accent
#D89650
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BB417C

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

Preview Lab → · Contrast checker → · Palette generator →

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