#BB339B#BB339B

#BB339B is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.202 H 339.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB339B
RGBrgb(187, 51, 155)
HSLhsl(314, 57%, 47%)
HSVhsv(314, 73%, 73%)
CMYKcmyk(0%, 72.7%, 17.1%, 26.7%)
CIE-LABlab(46.04, 63.64, -26.69)
CIE-LCHlch(46.04, 69.02, 337.25°)
OKLaboklab(56.16% 0.1891 -0.0722)
OKLCHoklch(56.16% 0.202 339.1)
XYZxyz(27.5944, 15.3017, 32.5042)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB339B #33BB53
analogous
#9733BB #BB339B #BB3357
triadic
#BB339B #9BBB33 #339BBB
tetradic
#BB339B #BB9733 #33BB53 #3357BB
square
#BB339B #BB9733 #33BB53 #3357BB
split-complementary
#BB339B #57BB33 #33BB97
monochromatic
#5B194B #8B2673 #BB339B #D259B5 #DF89CB

Accessibility & contrast

On white

5.17
#BB339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BB339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB339B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB339B#FFFFFF#000000##FFFFFF
##BB339B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9E
Deuteranopia (green-blind)
#677598
Tritanopia (blue-blind)
#C63963
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb339b;
/* rgb */ color: rgb(187, 51, 155);
/* oklch */ color: oklch(56.2% 0.202 339.1);
Tailwind
colors: {
  custom: {
    50: '#d377b8',
    500: '#bb339b',
    950: '#000000',
  },
}
SCSS
$custom: #bb339b;
$custom-light: #d377b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb339b",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 314.118,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.20238,
    "h": 339.1
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#BB339B
secondary
#81C992
accent
#E06B47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB339B

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

Preview Lab → · Contrast checker → · Palette generator →

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