#BB417D#BB417D

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

Color values

HEX#BB417D
RGBrgb(187, 65, 125)
HSLhsl(330, 48%, 49%)
HSVhsv(330, 65%, 73%)
CMYKcmyk(0%, 65.2%, 33.2%, 26.7%)
CIE-LABlab(46.75, 54.47, -7.51)
CIE-LCHlch(46.75, 54.98, 352.15°)
OKLaboklab(56.29% 0.1662 -0.0192)
OKLCHoklch(56.29% 0.167 353.4)
XYZxyz(26.0869, 15.8289, 21.0795)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB417D #41BB7F
analogous
#BB41BA #BB417D #BB4241
triadic
#BB417D #7DBB41 #417DBB
tetradic
#BB417D #BABB41 #41BB7F #4241BB
square
#BB417D #BABB41 #41BB7F #4241BB
split-complementary
#BB417D #41BB42 #41BABB
monochromatic
#602140 #8E315F #BB417D #CC6D9C #DC9ABB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB417D#FFFFFF#000000##FFFFFF
##BB417D1.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)
#54617F
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#C9395A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb417d;
/* rgb */ color: rgb(187, 65, 125);
/* oklch */ color: oklch(56.3% 0.167 353.4);
Tailwind
colors: {
  custom: {
    50: '#d37da2',
    500: '#bb417d',
    950: '#000000',
  },
}
SCSS
$custom: #bb417d;
$custom-light: #d37da2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb417d",
  "rgb": {
    "r": 187,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 330.492,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.16733,
    "h": 353.4
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#BB417D
secondary
#90C8AC
accent
#D89550
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BB417D

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

Preview Lab → · Contrast checker → · Palette generator →

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