#BB399E#BB399E

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

Color values

HEX#BB399E
RGBrgb(187, 57, 158)
HSLhsl(313, 53%, 48%)
HSVhsv(313, 70%, 73%)
CMYKcmyk(0%, 69.5%, 15.5%, 26.7%)
CIE-LABlab(46.92, 61.97, -27.12)
CIE-LCHlch(46.92, 67.65, 336.37°)
OKLaboklab(56.85% 0.1832 -0.0735)
OKLCHoklch(56.85% 0.197 338.1)
XYZxyz(28.1288, 15.9622, 33.9407)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB399E #39BB56
analogous
#9739BB #BB399E #BB395D
triadic
#BB399E #9EBB39 #399EBB
tetradic
#BB399E #BB9739 #39BB56 #395DBB
square
#BB399E #BB9739 #39BB56 #395DBB
split-complementary
#BB399E #5DBB39 #39BB97
monochromatic
#5D1C4F #8C2B76 #BB399E #CF62B7 #DD91CC

Accessibility & contrast

On white

5.01
#BB399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BB399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB399E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB399E#FFFFFF#000000##FFFFFF
##BB399E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A1
Deuteranopia (green-blind)
#68779B
Tritanopia (blue-blind)
#C53F67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb399e;
/* rgb */ color: rgb(187, 57, 158);
/* oklch */ color: oklch(56.8% 0.197 338.1);
Tailwind
colors: {
  custom: {
    50: '#d37abb',
    500: '#bb399e',
    950: '#000000',
  },
}
SCSS
$custom: #bb399e;
$custom-light: #d37abb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb399e",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 313.385,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.19734,
    "h": 338.1
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#BB399E
secondary
#87C896
accent
#DD6C4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB399E

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

Preview Lab → · Contrast checker → · Palette generator →

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