#BB399B#BB399B

#BB399B is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.195 H 339.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB399B
RGBrgb(187, 57, 155)
HSLhsl(315, 53%, 48%)
HSVhsv(315, 70%, 73%)
CMYKcmyk(0%, 69.5%, 17.1%, 26.7%)
CIE-LABlab(46.79, 61.54, -25.53)
CIE-LCHlch(46.79, 66.63, 337.47°)
OKLaboklab(56.71% 0.1827 -0.069)
OKLCHoklch(56.71% 0.195 339.3)
XYZxyz(27.8737, 15.8602, 32.5973)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB399B #39BB59
analogous
#9A39BB #BB399B #BB395A
triadic
#BB399B #9BBB39 #399BBB
tetradic
#BB399B #BB9A39 #39BB59 #395ABB
square
#BB399B #BB9A39 #39BB59 #395ABB
split-complementary
#BB399B #5ABB39 #39BB9A
monochromatic
#5D1C4D #8C2B74 #BB399B #CF62B4 #DD91CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB399B#FFFFFF#000000##FFFFFF
##BB399B1.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)
#40629E
Deuteranopia (green-blind)
#6A7698
Tritanopia (blue-blind)
#C63E65
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb399b;
/* rgb */ color: rgb(187, 57, 155);
/* oklch */ color: oklch(56.7% 0.195 339.3);
Tailwind
colors: {
  custom: {
    50: '#d37ab8',
    500: '#bb399b',
    950: '#000000',
  },
}
SCSS
$custom: #bb399b;
$custom-light: #d37ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb399b",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 314.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.1953,
    "h": 339.3
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#BB399B
secondary
#87C897
accent
#DD6F4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB399B

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

Preview Lab → · Contrast checker → · Palette generator →

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