#BB3F9D#BB3F9D

#BB3F9D is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.189 H 338.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB3F9D
RGBrgb(187, 63, 157)
HSLhsl(315, 50%, 49%)
HSVhsv(315, 66%, 73%)
CMYKcmyk(0%, 66.3%, 16%, 26.7%)
CIE-LABlab(47.70, 59.55, -25.32)
CIE-LCHlch(47.70, 64.71, 336.96°)
OKLaboklab(57.39% 0.1762 -0.0684)
OKLCHoklch(57.39% 0.189 338.8)
XYZxyz(28.3574, 16.5567, 33.5940)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3F9D #3FBB5D
analogous
#9B3FBB #BB3F9D #BB3F5F
triadic
#BB3F9D #9DBB3F #3F9DBB
tetradic
#BB3F9D #BB9B3F #3FBB5D #3F5FBB
square
#BB3F9D #BB9B3F #3FBB5D #3F5FBB
split-complementary
#BB3F9D #5FBB3F #3FBB9B
monochromatic
#5F2050 #8D3077 #BB3F9D #CD6AB5 #DC98CC

Accessibility & contrast

On white

4.87
#BB3F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BB3F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3F9D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3F9D#FFFFFF#000000##FFFFFF
##BB3F9D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A0
Deuteranopia (green-blind)
#6B789A
Tritanopia (blue-blind)
#C54468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb3f9d;
/* rgb */ color: rgb(187, 63, 157);
/* oklch */ color: oklch(57.4% 0.189 338.8);
Tailwind
colors: {
  custom: {
    50: '#d37dba',
    500: '#bb3f9d',
    950: '#000000',
  },
}
SCSS
$custom: #bb3f9d;
$custom-light: #d37dba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3f9d",
  "rgb": {
    "r": 187,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 314.516,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.189,
    "h": 338.8
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#BB3F9D
secondary
#8EC89C
accent
#D9704F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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