#BB3F97#BB3F97

#BB3F97 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.1% C 0.185 H 341.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB3F97
RGBrgb(187, 63, 151)
HSLhsl(317, 50%, 49%)
HSVhsv(317, 66%, 73%)
CMYKcmyk(0%, 66.3%, 19.3%, 26.7%)
CIE-LABlab(47.44, 58.68, -22.14)
CIE-LCHlch(47.44, 62.72, 339.33°)
OKLaboklab(57.12% 0.1751 -0.0595)
OKLCHoklch(57.12% 0.185 341.2)
XYZxyz(27.8577, 16.3568, 30.9622)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3F97 #3FBB63
analogous
#A13FBB #BB3F97 #BB3F59
triadic
#BB3F97 #97BB3F #3F97BB
tetradic
#BB3F97 #BBA13F #3FBB63 #3F59BB
square
#BB3F97 #BBA13F #3FBB63 #3F59BB
split-complementary
#BB3F97 #59BB3F #3FBBA1
monochromatic
#5F204D #8D3072 #BB3F97 #CD6AB0 #DC98C9

Accessibility & contrast

On white

4.92
#BB3F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BB3F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3F97
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3F97#FFFFFF#000000##FFFFFF
##BB3F971.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#6E7894
Tritanopia (blue-blind)
#C64165
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb3f97;
/* rgb */ color: rgb(187, 63, 151);
/* oklch */ color: oklch(57.1% 0.185 341.2);
Tailwind
colors: {
  custom: {
    50: '#d37db5',
    500: '#bb3f97',
    950: '#000000',
  },
}
SCSS
$custom: #bb3f97;
$custom-light: #d37db5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3f97",
  "rgb": {
    "r": 187,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 317.419,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.18493,
    "h": 341.2
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#BB3F97
secondary
#8EC89F
accent
#D9774F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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