#BB3F98#BB3F98

#BB3F98 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.2% C 0.186 H 340.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB3F98
RGBrgb(187, 63, 152)
HSLhsl(317, 50%, 49%)
HSVhsv(317, 66%, 73%)
CMYKcmyk(0%, 66.3%, 18.7%, 26.7%)
CIE-LABlab(47.48, 58.83, -22.67)
CIE-LCHlch(47.48, 63.04, 338.92°)
OKLaboklab(57.17% 0.1753 -0.061)
OKLCHoklch(57.17% 0.186 340.8)
XYZxyz(27.9392, 16.3894, 31.3917)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3F98 #3FBB62
analogous
#A03FBB #BB3F98 #BB3F5A
triadic
#BB3F98 #98BB3F #3F98BB
tetradic
#BB3F98 #BBA03F #3FBB62 #3F5ABB
square
#BB3F98 #BBA03F #3FBB62 #3F5ABB
split-complementary
#BB3F98 #5ABB3F #3FBBA0
monochromatic
#5F204E #8D3073 #BB3F98 #CD6AB1 #DC98C9

Accessibility & contrast

On white

4.91
#BB3F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB3F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3F98
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3F98#FFFFFF#000000##FFFFFF
##BB3F981.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#C64166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb3f98;
/* rgb */ color: rgb(187, 63, 152);
/* oklch */ color: oklch(57.2% 0.186 340.8);
Tailwind
colors: {
  custom: {
    50: '#d37db6',
    500: '#bb3f98',
    950: '#000000',
  },
}
SCSS
$custom: #bb3f98;
$custom-light: #d37db6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3f98",
  "rgb": {
    "r": 187,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 316.935,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.1856,
    "h": 340.8
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#BB3F98
secondary
#8EC89E
accent
#D9764F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3F98

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

Preview Lab → · Contrast checker → · Palette generator →

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