#BB339A#BB339A

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

Color values

HEX#BB339A
RGBrgb(187, 51, 154)
HSLhsl(315, 57%, 47%)
HSVhsv(315, 73%, 73%)
CMYKcmyk(0%, 72.7%, 17.6%, 26.7%)
CIE-LABlab(46.00, 63.51, -26.16)
CIE-LCHlch(46.00, 68.68, 337.61°)
OKLaboklab(56.12% 0.1889 -0.0707)
OKLCHoklch(56.12% 0.202 339.5)
XYZxyz(27.5108, 15.2682, 32.0638)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB339A #33BB54
analogous
#9833BB #BB339A #BB3356
triadic
#BB339A #9ABB33 #339ABB
tetradic
#BB339A #BB9833 #33BB54 #3356BB
square
#BB339A #BB9833 #33BB54 #3356BB
split-complementary
#BB339A #56BB33 #33BB98
monochromatic
#5B194B #8B2672 #BB339A #D259B5 #DF89CA

Accessibility & contrast

On white

5.18
#BB339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB339A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB339A#FFFFFF#000000##FFFFFF
##BB339A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9D
Deuteranopia (green-blind)
#687597
Tritanopia (blue-blind)
#C63862
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb339a;
/* rgb */ color: rgb(187, 51, 154);
/* oklch */ color: oklch(56.1% 0.202 339.5);
Tailwind
colors: {
  custom: {
    50: '#d377b8',
    500: '#bb339a',
    950: '#000000',
  },
}
SCSS
$custom: #bb339a;
$custom-light: #d377b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb339a",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 314.559,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56117,
    "c": 0.20172,
    "h": 339.5
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB339A

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

Preview Lab → · Contrast checker → · Palette generator →

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