#BB337E#BB337E

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

Color values

HEX#BB337E
RGBrgb(187, 51, 126)
HSLhsl(327, 57%, 47%)
HSVhsv(327, 73%, 73%)
CMYKcmyk(0%, 72.7%, 32.6%, 26.7%)
CIE-LABlab(44.86, 59.92, -10.96)
CIE-LCHlch(44.86, 60.91, 349.64°)
OKLaboklab(54.92% 0.1832 -0.0284)
OKLCHoklch(54.92% 0.185 351.2)
XYZxyz(25.4447, 14.4417, 21.1822)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB337E #33BB70
analogous
#B433BB #BB337E #BB333A
triadic
#BB337E #7EBB33 #337EBB
tetradic
#BB337E #BBB433 #33BB70 #333ABB
square
#BB337E #BBB433 #33BB70 #333ABB
split-complementary
#BB337E #3ABB33 #33BBB4
monochromatic
#5B193D #8B265E #BB337E #D2599C #DF89B9

Accessibility & contrast

On white

5.40
#BB337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BB337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB337E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB337E#FFFFFF#000000##FFFFFF
##BB337E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#70737B
Tritanopia (blue-blind)
#C92954
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb337e;
/* rgb */ color: rgb(187, 51, 126);
/* oklch */ color: oklch(54.9% 0.185 351.2);
Tailwind
colors: {
  custom: {
    50: '#d476a3',
    500: '#bb337e',
    950: '#000000',
  },
}
SCSS
$custom: #bb337e;
$custom-light: #d476a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb337e",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 326.912,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.18543,
    "h": 351.2
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#BB337E
secondary
#81C9A1
accent
#E08C47
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BB337E

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

Preview Lab → · Contrast checker → · Palette generator →

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