#BB417E#BB417E

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

Color values

HEX#BB417E
RGBrgb(187, 65, 126)
HSLhsl(330, 48%, 49%)
HSVhsv(330, 65%, 73%)
CMYKcmyk(0%, 65.2%, 32.6%, 26.7%)
CIE-LABlab(46.78, 54.59, -8.07)
CIE-LCHlch(46.78, 55.18, 351.59°)
OKLaboklab(56.33% 0.1665 -0.0207)
OKLCHoklch(56.33% 0.168 352.9)
XYZxyz(26.1511, 15.8546, 21.4177)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB417E #41BB7E
analogous
#BB41BB #BB417E #BB4141
triadic
#BB417E #7EBB41 #417EBB
tetradic
#BB417E #BBBB41 #41BB7E #4141BB
square
#BB417E #BBBB41 #41BB7E #4141BB
split-complementary
#BB417E #41BB41 #41BBBB
monochromatic
#602141 #8E315F #BB417E #CC6D9D #DC9ABB

Accessibility & contrast

On white

5.04
#BB417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB417E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB417E#FFFFFF#000000##FFFFFF
##BB417E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb417e;
/* rgb */ color: rgb(187, 65, 126);
/* oklch */ color: oklch(56.3% 0.168 352.9);
Tailwind
colors: {
  custom: {
    50: '#d37da3',
    500: '#bb417e',
    950: '#000000',
  },
}
SCSS
$custom: #bb417e;
$custom-light: #d37da3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb417e",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 330,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.16781,
    "h": 352.9
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#BB417E
secondary
#90C8AC
accent
#D89450
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BB417E

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

Preview Lab → · Contrast checker → · Palette generator →

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