#BB3398#BB3398

#BB3398 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.0% C 0.200 H 340.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB3398
RGBrgb(187, 51, 152)
HSLhsl(315, 57%, 47%)
HSVhsv(315, 73%, 73%)
CMYKcmyk(0%, 72.7%, 18.7%, 26.7%)
CIE-LABlab(45.91, 63.23, -25.10)
CIE-LCHlch(45.91, 68.03, 338.34°)
OKLaboklab(56.02% 0.1886 -0.0677)
OKLCHoklch(56.02% 0.2 340.3)
XYZxyz(27.3456, 15.2021, 31.1938)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3398 #33BB56
analogous
#9A33BB #BB3398 #BB3354
triadic
#BB3398 #98BB33 #3398BB
tetradic
#BB3398 #BB9A33 #33BB56 #3354BB
square
#BB3398 #BB9A33 #33BB56 #3354BB
split-complementary
#BB3398 #54BB33 #33BB9A
monochromatic
#5B194A #8B2671 #BB3398 #D259B3 #DF89C9

Accessibility & contrast

On white

5.20
#BB3398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB3398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3398
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3398#FFFFFF#000000##FFFFFF
##BB33981.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#687595
Tritanopia (blue-blind)
#C63761
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb3398;
/* rgb */ color: rgb(187, 51, 152);
/* oklch */ color: oklch(56.0% 0.200 340.3);
Tailwind
colors: {
  custom: {
    50: '#d377b6',
    500: '#bb3398',
    950: '#000000',
  },
}
SCSS
$custom: #bb3398;
$custom-light: #d377b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3398",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 315.441,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.20041,
    "h": 340.3
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#BB3398
secondary
#81C993
accent
#E06F47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3398

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

Preview Lab → · Contrast checker → · Palette generator →

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