#BB337C#BB337C

#BB337C is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.184 H 352.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BB337C
RGBrgb(187, 51, 124)
HSLhsl(328, 57%, 47%)
HSVhsv(328, 73%, 73%)
CMYKcmyk(0%, 72.7%, 33.7%, 26.7%)
CIE-LABlab(44.79, 59.69, -9.84)
CIE-LCHlch(44.79, 60.50, 350.64°)
OKLaboklab(54.84% 0.1827 -0.0254)
OKLCHoklch(54.84% 0.184 352.1)
XYZxyz(25.3169, 14.3906, 20.5093)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB337C #33BB72
analogous
#B633BB #BB337C #BB3338
triadic
#BB337C #7CBB33 #337CBB
tetradic
#BB337C #BBB633 #33BB72 #3338BB
square
#BB337C #BBB633 #33BB72 #3338BB
split-complementary
#BB337C #38BB33 #33BBB6
monochromatic
#5B193C #8B265C #BB337C #D2599A #DF89B7

Accessibility & contrast

On white

5.42
#BB337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BB337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB337C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB337C#FFFFFF#000000##FFFFFF
##BB337C1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7E
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#C92853
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb337c;
/* rgb */ color: rgb(187, 51, 124);
/* oklch */ color: oklch(54.8% 0.184 352.1);
Tailwind
colors: {
  custom: {
    50: '#d476a1',
    500: '#bb337c',
    950: '#000000',
  },
}
SCSS
$custom: #bb337c;
$custom-light: #d476a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb337c",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 327.794,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.18445,
    "h": 352.1
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#BB337C
secondary
#81C9A2
accent
#E08E47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BB337C

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

Preview Lab → · Contrast checker → · Palette generator →

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