#BB399A#BB399A

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

Color values

HEX#BB399A
RGBrgb(187, 57, 154)
HSLhsl(315, 53%, 48%)
HSVhsv(315, 70%, 73%)
CMYKcmyk(0%, 69.5%, 17.6%, 26.7%)
CIE-LABlab(46.75, 61.40, -25.01)
CIE-LCHlch(46.75, 66.30, 337.84°)
OKLaboklab(56.66% 0.1826 -0.0675)
OKLCHoklch(56.66% 0.195 339.7)
XYZxyz(27.7901, 15.8268, 32.1569)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB399A #39BB5A
analogous
#9B39BB #BB399A #BB3959
triadic
#BB399A #9ABB39 #399ABB
tetradic
#BB399A #BB9B39 #39BB5A #3959BB
square
#BB399A #BB9B39 #39BB5A #3959BB
split-complementary
#BB399A #59BB39 #39BB9B
monochromatic
#5D1C4D #8C2B73 #BB399A #CF62B3 #DD91CA

Accessibility & contrast

On white

5.04
#BB399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BB399A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB399A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB399A#FFFFFF#000000##FFFFFF
##BB399A1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629D
Deuteranopia (green-blind)
#6A7697
Tritanopia (blue-blind)
#C63D65
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb399a;
/* rgb */ color: rgb(187, 57, 154);
/* oklch */ color: oklch(56.7% 0.195 339.7);
Tailwind
colors: {
  custom: {
    50: '#d37ab8',
    500: '#bb399a',
    950: '#000000',
  },
}
SCSS
$custom: #bb399a;
$custom-light: #d37ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb399a",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 315.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.19464,
    "h": 339.7
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#BB399A
secondary
#87C898
accent
#DD704B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB399A

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

Preview Lab → · Contrast checker → · Palette generator →

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