#BB336C#BB336C

#BB336C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.178 H 359.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BB336C
RGBrgb(187, 51, 108)
HSLhsl(335, 57%, 47%)
HSVhsv(335, 73%, 73%)
CMYKcmyk(0%, 72.7%, 42.2%, 26.7%)
CIE-LABlab(44.26, 57.98, -0.77)
CIE-LCHlch(44.26, 57.98, 359.24°)
OKLaboklab(54.28% 0.1779 -0.0013)
OKLCHoklch(54.28% 0.178 359.6)
XYZxyz(24.3859, 14.0182, 15.6061)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB336C #33BB82
analogous
#BB33B0 #BB336C #BB3E33
triadic
#BB336C #6CBB33 #336CBB
tetradic
#BB336C #B0BB33 #33BB82 #3E33BB
square
#BB336C #B0BB33 #33BB82 #3E33BB
split-complementary
#BB336C #33BB3E #33B0BB
monochromatic
#5B1934 #8B2650 #BB336C #D2598C #DF89AD

Accessibility & contrast

On white

5.52
#BB336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BB336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB336C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB336C#FFFFFF#000000##FFFFFF
##BB336C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586D
Deuteranopia (green-blind)
#757269
Tritanopia (blue-blind)
#CB1F4B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb336c;
/* rgb */ color: rgb(187, 51, 108);
/* oklch */ color: oklch(54.3% 0.178 359.6);
Tailwind
colors: {
  custom: {
    50: '#d57696',
    500: '#bb336c',
    950: '#000000',
  },
}
SCSS
$custom: #bb336c;
$custom-light: #d57696;
$custom-dark: #000000;
JSON
{
  "hex": "#bb336c",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 334.853,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.17786,
    "h": 359.6
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#BB336C
secondary
#81C9AB
accent
#E0A047
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB336C

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

Preview Lab → · Contrast checker → · Palette generator →

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