#BB396D#BB396D

#BB396D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.171 H 0.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB396D
RGBrgb(187, 57, 109)
HSLhsl(336, 53%, 48%)
HSVhsv(336, 70%, 73%)
CMYKcmyk(0%, 69.5%, 41.7%, 26.7%)
CIE-LABlab(45.08, 55.88, -0.19)
CIE-LCHlch(45.08, 55.88, 359.81°)
OKLaboklab(54.89% 0.1712 0.0002)
OKLCHoklch(54.89% 0.171 0.1)
XYZxyz(24.7187, 14.5982, 15.9811)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB396D #39BB87
analogous
#BB39AE #BB396D #BB4639
triadic
#BB396D #6DBB39 #396DBB
tetradic
#BB396D #AEBB39 #39BB87 #4639BB
square
#BB396D #AEBB39 #39BB87 #4639BB
split-complementary
#BB396D #39BB46 #39AEBB
monochromatic
#5D1C36 #8C2B52 #BB396D #CF628E #DD91B0

Accessibility & contrast

On white

5.36
#BB396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB396D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB396D#FFFFFF#000000##FFFFFF
##BB396D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6E
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#CA284E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb396d;
/* rgb */ color: rgb(187, 57, 109);
/* oklch */ color: oklch(54.9% 0.171 0.1);
Tailwind
colors: {
  custom: {
    50: '#d47996',
    500: '#bb396d',
    950: '#000000',
  },
}
SCSS
$custom: #bb396d;
$custom-light: #d47996;
$custom-dark: #000000;
JSON
{
  "hex": "#bb396d",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 336,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.1712,
    "h": 0.1
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#BB396D
secondary
#87C8AE
accent
#DDA24B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BB396D

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

Preview Lab → · Contrast checker → · Palette generator →

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