#BB399C#BB399C

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

Color values

HEX#BB399C
RGBrgb(187, 57, 156)
HSLhsl(314, 53%, 48%)
HSVhsv(314, 70%, 73%)
CMYKcmyk(0%, 69.5%, 16.6%, 26.7%)
CIE-LABlab(46.84, 61.69, -26.06)
CIE-LCHlch(46.84, 66.97, 337.10°)
OKLaboklab(56.75% 0.1829 -0.0705)
OKLCHoklch(56.75% 0.196 338.9)
XYZxyz(27.9580, 15.8939, 33.0414)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB399C #39BB58
analogous
#9939BB #BB399C #BB395B
triadic
#BB399C #9CBB39 #399CBB
tetradic
#BB399C #BB9939 #39BB58 #395BBB
square
#BB399C #BB9939 #39BB58 #395BBB
split-complementary
#BB399C #5BBB39 #39BB99
monochromatic
#5D1C4E #8C2B75 #BB399C #CF62B5 #DD91CB

Accessibility & contrast

On white

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

On black

4.18
#BB399C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB399C#FFFFFF#000000##FFFFFF
##BB399C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#C53E66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb399c;
/* rgb */ color: rgb(187, 57, 156);
/* oklch */ color: oklch(56.8% 0.196 338.9);
Tailwind
colors: {
  custom: {
    50: '#d37ab9',
    500: '#bb399c',
    950: '#000000',
  },
}
SCSS
$custom: #bb399c;
$custom-light: #d37ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb399c",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 314.308,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.19597,
    "h": 338.9
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB399C

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

Preview Lab → · Contrast checker → · Palette generator →

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