#BB399F#BB399F

#BB399F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.198 H 337.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB399F
RGBrgb(187, 57, 159)
HSLhsl(313, 53%, 48%)
HSVhsv(313, 70%, 73%)
CMYKcmyk(0%, 69.5%, 15%, 26.7%)
CIE-LABlab(46.97, 62.12, -27.64)
CIE-LCHlch(46.97, 67.99, 336.01°)
OKLaboklab(56.9% 0.1833 -0.075)
OKLCHoklch(56.9% 0.198 337.8)
XYZxyz(28.2152, 15.9968, 34.3959)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB399F #39BB55
analogous
#9639BB #BB399F #BB395E
triadic
#BB399F #9FBB39 #399FBB
tetradic
#BB399F #BB9639 #39BB55 #395EBB
square
#BB399F #BB9639 #39BB55 #395EBB
split-complementary
#BB399F #5EBB39 #39BB96
monochromatic
#5D1C4F #8C2B77 #BB399F #CF62B8 #DD91CD

Accessibility & contrast

On white

5.00
#BB399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB399F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB399F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB399F#FFFFFF#000000##FFFFFF
##BB399F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb399f;
/* rgb */ color: rgb(187, 57, 159);
/* oklch */ color: oklch(56.9% 0.198 337.8);
Tailwind
colors: {
  custom: {
    50: '#d37abb',
    500: '#bb399f',
    950: '#000000',
  },
}
SCSS
$custom: #bb399f;
$custom-light: #d37abb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb399f",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 312.923,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.19803,
    "h": 337.8
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#BB399F
secondary
#87C895
accent
#DD6A4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB399F

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

Preview Lab → · Contrast checker → · Palette generator →

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