#BB339F#BB339F

#BB339F is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.205 H 337.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB339F
RGBrgb(187, 51, 159)
HSLhsl(312, 57%, 47%)
HSVhsv(312, 73%, 73%)
CMYKcmyk(0%, 72.7%, 15%, 26.7%)
CIE-LABlab(46.23, 64.21, -28.80)
CIE-LCHlch(46.23, 70.37, 335.85°)
OKLaboklab(56.36% 0.1896 -0.0782)
OKLCHoklch(56.36% 0.205 337.6)
XYZxyz(27.9359, 15.4382, 34.3028)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB339F #33BB4F
analogous
#9333BB #BB339F #BB335B
triadic
#BB339F #9FBB33 #339FBB
tetradic
#BB339F #BB9333 #33BB4F #335BBB
square
#BB339F #BB9333 #33BB4F #335BBB
split-complementary
#BB339F #5BBB33 #33BB93
monochromatic
#5B194D #8B2676 #BB339F #D259B9 #DF89CD

Accessibility & contrast

On white

5.14
#BB339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BB339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB339F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB339F#FFFFFF#000000##FFFFFF
##BB339F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#66759C
Tritanopia (blue-blind)
#C53B65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb339f;
/* rgb */ color: rgb(187, 51, 159);
/* oklch */ color: oklch(56.4% 0.205 337.6);
Tailwind
colors: {
  custom: {
    50: '#d378bb',
    500: '#bb339f',
    950: '#000000',
  },
}
SCSS
$custom: #bb339f;
$custom-light: #d378bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb339f",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 312.353,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.20506,
    "h": 337.6
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#BB339F
secondary
#81C990
accent
#E06747
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB339F

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

Preview Lab → · Contrast checker → · Palette generator →

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