#BB339D#BB339D

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

Color values

HEX#BB339D
RGBrgb(187, 51, 157)
HSLhsl(313, 57%, 47%)
HSVhsv(313, 73%, 73%)
CMYKcmyk(0%, 72.7%, 16%, 26.7%)
CIE-LABlab(46.14, 63.93, -27.75)
CIE-LCHlch(46.14, 69.69, 336.54°)
OKLaboklab(56.26% 0.1893 -0.0752)
OKLCHoklch(56.26% 0.204 338.3)
XYZxyz(27.7638, 15.3694, 33.3961)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB339D #33BB51
analogous
#9533BB #BB339D #BB3359
triadic
#BB339D #9DBB33 #339DBB
tetradic
#BB339D #BB9533 #33BB51 #3359BB
square
#BB339D #BB9533 #33BB51 #3359BB
split-complementary
#BB339D #59BB33 #33BB95
monochromatic
#5B194C #8B2675 #BB339D #D259B7 #DF89CC

Accessibility & contrast

On white

5.16
#BB339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BB339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB339D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB339D#FFFFFF#000000##FFFFFF
##BB339D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A0
Deuteranopia (green-blind)
#66759A
Tritanopia (blue-blind)
#C53A64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb339d;
/* rgb */ color: rgb(187, 51, 157);
/* oklch */ color: oklch(56.3% 0.204 338.3);
Tailwind
colors: {
  custom: {
    50: '#d377ba',
    500: '#bb339d',
    950: '#000000',
  },
}
SCSS
$custom: #bb339d;
$custom-light: #d377ba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb339d",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 313.235,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.20371,
    "h": 338.3
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#BB339D
secondary
#81C991
accent
#E06947
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB339D

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

Preview Lab → · Contrast checker → · Palette generator →

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