#BB337D#BB337D

#BB337D is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.185 H 351.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BB337D
RGBrgb(187, 51, 125)
HSLhsl(327, 57%, 47%)
HSVhsv(327, 73%, 73%)
CMYKcmyk(0%, 72.7%, 33.2%, 26.7%)
CIE-LABlab(44.82, 59.80, -10.40)
CIE-LCHlch(44.82, 60.70, 350.14°)
OKLaboklab(54.88% 0.183 -0.0269)
OKLCHoklch(54.88% 0.185 351.6)
XYZxyz(25.3805, 14.4161, 20.8441)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB337D #33BB71
analogous
#B533BB #BB337D #BB3339
triadic
#BB337D #7DBB33 #337DBB
tetradic
#BB337D #BBB533 #33BB71 #3339BB
square
#BB337D #BBB533 #33BB71 #3339BB
split-complementary
#BB337D #39BB33 #33BBB5
monochromatic
#5B193D #8B265D #BB337D #D2599B #DF89B8

Accessibility & contrast

On white

5.41
#BB337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB337D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB337D#FFFFFF#000000##FFFFFF
##BB337D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7F
Deuteranopia (green-blind)
#71737A
Tritanopia (blue-blind)
#C92953
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb337d;
/* rgb */ color: rgb(187, 51, 125);
/* oklch */ color: oklch(54.9% 0.185 351.6);
Tailwind
colors: {
  custom: {
    50: '#d476a2',
    500: '#bb337d',
    950: '#000000',
  },
}
SCSS
$custom: #bb337d;
$custom-light: #d476a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb337d",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 327.353,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.18494,
    "h": 351.6
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#BB337D
secondary
#81C9A2
accent
#E08D47
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BB337D

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

Preview Lab → · Contrast checker → · Palette generator →

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