#BB37A1#BB37A1

#BB37A1 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.8% C 0.202 H 336.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB37A1
RGBrgb(187, 55, 161)
HSLhsl(312, 55%, 47%)
HSVhsv(312, 71%, 73%)
CMYKcmyk(0%, 70.6%, 13.9%, 26.7%)
CIE-LABlab(46.81, 63.13, -29.09)
CIE-LCHlch(46.81, 69.51, 335.26°)
OKLaboklab(56.81% 0.1857 -0.0791)
OKLCHoklch(56.81% 0.202 336.9)
XYZxyz(28.2932, 15.8729, 35.2850)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37A1 #37BB51
analogous
#9337BB #BB37A1 #BB375F
triadic
#BB37A1 #A1BB37 #37A1BB
tetradic
#BB37A1 #BB9337 #37BB51 #375FBB
square
#BB37A1 #BB9337 #37BB51 #375FBB
split-complementary
#BB37A1 #5FBB37 #37BB93
monochromatic
#5C1B50 #8C2978 #BB37A1 #D05FBA #DE8ECE

Accessibility & contrast

On white

5.03
#BB37A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB37A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB37A1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37A1#FFFFFF#000000##FFFFFF
##BB37A11.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A4
Deuteranopia (green-blind)
#66769E
Tritanopia (blue-blind)
#C53F68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb37a1;
/* rgb */ color: rgb(187, 55, 161);
/* oklch */ color: oklch(56.8% 0.202 336.9);
Tailwind
colors: {
  custom: {
    50: '#d379bd',
    500: '#bb37a1',
    950: '#000000',
  },
}
SCSS
$custom: #bb37a1;
$custom-light: #d379bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37a1",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 311.818,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.20182,
    "h": 336.9
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#BB37A1
secondary
#85C993
accent
#DE674A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB37A1

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

Preview Lab → · Contrast checker → · Palette generator →

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