#BB339C#BB339C

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

Color values

HEX#BB339C
RGBrgb(187, 51, 156)
HSLhsl(314, 57%, 47%)
HSVhsv(314, 73%, 73%)
CMYKcmyk(0%, 72.7%, 16.6%, 26.7%)
CIE-LABlab(46.09, 63.79, -27.22)
CIE-LCHlch(46.09, 69.35, 336.89°)
OKLaboklab(56.21% 0.1892 -0.0737)
OKLCHoklch(56.21% 0.203 338.7)
XYZxyz(27.6787, 15.3354, 32.9484)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB339C #33BB52
analogous
#9633BB #BB339C #BB3358
triadic
#BB339C #9CBB33 #339CBB
tetradic
#BB339C #BB9633 #33BB52 #3358BB
square
#BB339C #BB9633 #33BB52 #3358BB
split-complementary
#BB339C #58BB33 #33BB96
monochromatic
#5B194C #8B2674 #BB339C #D259B6 #DF89CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB339C#FFFFFF#000000##FFFFFF
##BB339C1.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)
#3A609F
Deuteranopia (green-blind)
#677599
Tritanopia (blue-blind)
#C63964
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb339c;
/* rgb */ color: rgb(187, 51, 156);
/* oklch */ color: oklch(56.2% 0.203 338.7);
Tailwind
colors: {
  custom: {
    50: '#d377b9',
    500: '#bb339c',
    950: '#000000',
  },
}
SCSS
$custom: #bb339c;
$custom-light: #d377b9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb339c",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 313.676,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.20304,
    "h": 338.7
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB339C

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

Preview Lab → · Contrast checker → · Palette generator →

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