#BB3796#BB3796

#BB3796 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.194 H 341.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB3796
RGBrgb(187, 55, 150)
HSLhsl(317, 55%, 47%)
HSVhsv(317, 71%, 73%)
CMYKcmyk(0%, 70.6%, 19.8%, 26.7%)
CIE-LABlab(46.31, 61.57, -23.28)
CIE-LCHlch(46.31, 65.82, 339.29°)
OKLaboklab(56.29% 0.1841 -0.0626)
OKLCHoklch(56.29% 0.194 341.2)
XYZxyz(27.3655, 15.5019, 30.3992)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3796 #37BB5C
analogous
#9E37BB #BB3796 #BB3754
triadic
#BB3796 #96BB37 #3796BB
tetradic
#BB3796 #BB9E37 #37BB5C #3754BB
square
#BB3796 #BB9E37 #37BB5C #3754BB
split-complementary
#BB3796 #54BB37 #37BB9E
monochromatic
#5C1B4A #8C2970 #BB3796 #D05FB0 #DE8EC8

Accessibility & contrast

On white

5.12
#BB3796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BB3796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3796
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3796#FFFFFF#000000##FFFFFF
##BB37961.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#6B7593
Tritanopia (blue-blind)
#C63A62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb3796;
/* rgb */ color: rgb(187, 55, 150);
/* oklch */ color: oklch(56.3% 0.194 341.2);
Tailwind
colors: {
  custom: {
    50: '#d379b5',
    500: '#bb3796',
    950: '#000000',
  },
}
SCSS
$custom: #bb3796;
$custom-light: #d379b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3796",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 316.818,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.19445,
    "h": 341.2
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#BB3796
secondary
#85C998
accent
#DE734A
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3796

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

Preview Lab → · Contrast checker → · Palette generator →

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