#BB339E#BB339E

#BB339E is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.204 H 338.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB339E
RGBrgb(187, 51, 158)
HSLhsl(313, 57%, 47%)
HSVhsv(313, 73%, 73%)
CMYKcmyk(0%, 72.7%, 15.5%, 26.7%)
CIE-LABlab(46.18, 64.07, -28.27)
CIE-LCHlch(46.18, 70.03, 336.19°)
OKLaboklab(56.31% 0.1894 -0.0767)
OKLCHoklch(56.31% 0.204 338)
XYZxyz(27.8495, 15.4037, 33.8476)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB339E #33BB50
analogous
#9433BB #BB339E #BB335A
triadic
#BB339E #9EBB33 #339EBB
tetradic
#BB339E #BB9433 #33BB50 #335ABB
square
#BB339E #BB9433 #33BB50 #335ABB
split-complementary
#BB339E #5ABB33 #33BB94
monochromatic
#5B194D #8B2675 #BB339E #D259B8 #DF89CD

Accessibility & contrast

On white

5.15
#BB339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB339E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB339E#FFFFFF#000000##FFFFFF
##BB339E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A1
Deuteranopia (green-blind)
#66759B
Tritanopia (blue-blind)
#C53A65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb339e;
/* rgb */ color: rgb(187, 51, 158);
/* oklch */ color: oklch(56.3% 0.204 338.0);
Tailwind
colors: {
  custom: {
    50: '#d378bb',
    500: '#bb339e',
    950: '#000000',
  },
}
SCSS
$custom: #bb339e;
$custom-light: #d378bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb339e",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 312.794,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.20439,
    "h": 338
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB339E

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

Preview Lab → · Contrast checker → · Palette generator →

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