#BB399D#BB399D

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

Color values

HEX#BB399D
RGBrgb(187, 57, 157)
HSLhsl(314, 53%, 48%)
HSVhsv(314, 70%, 73%)
CMYKcmyk(0%, 69.5%, 16%, 26.7%)
CIE-LABlab(46.88, 61.83, -26.59)
CIE-LCHlch(46.88, 67.30, 336.73°)
OKLaboklab(56.8% 0.183 -0.072)
OKLCHoklch(56.8% 0.197 338.5)
XYZxyz(28.0430, 15.9280, 33.4892)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB399D #39BB57
analogous
#9839BB #BB399D #BB395C
triadic
#BB399D #9DBB39 #399DBB
tetradic
#BB399D #BB9839 #39BB57 #395CBB
square
#BB399D #BB9839 #39BB57 #395CBB
split-complementary
#BB399D #5CBB39 #39BB98
monochromatic
#5D1C4E #8C2B76 #BB399D #CF62B6 #DD91CC

Accessibility & contrast

On white

5.02
#BB399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB399D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB399D#FFFFFF#000000##FFFFFF
##BB399D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#C53E66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb399d;
/* rgb */ color: rgb(187, 57, 157);
/* oklch */ color: oklch(56.8% 0.197 338.5);
Tailwind
colors: {
  custom: {
    50: '#d37aba',
    500: '#bb399d',
    950: '#000000',
  },
}
SCSS
$custom: #bb399d;
$custom-light: #d37aba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb399d",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 313.846,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.568,
    "c": 0.19666,
    "h": 338.5
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#BB399D
secondary
#87C896
accent
#DD6D4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB399D

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

Preview Lab → · Contrast checker → · Palette generator →

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