#BB398B#BB398B

#BB398B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.185 H 346.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BB398B
RGBrgb(187, 57, 139)
HSLhsl(322, 53%, 48%)
HSVhsv(322, 70%, 73%)
CMYKcmyk(0%, 69.5%, 25.7%, 26.7%)
CIE-LABlab(46.12, 59.37, -16.95)
CIE-LCHlch(46.12, 61.74, 344.07°)
OKLaboklab(56% 0.1797 -0.0449)
OKLCHoklch(56% 0.185 346)
XYZxyz(26.6179, 15.3579, 25.9837)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB398B #39BB69
analogous
#AA39BB #BB398B #BB394A
triadic
#BB398B #8BBB39 #398BBB
tetradic
#BB398B #BBAA39 #39BB69 #394ABB
square
#BB398B #BBAA39 #39BB69 #394ABB
split-complementary
#BB398B #4ABB39 #39BBAA
monochromatic
#5D1C45 #8C2B68 #BB398B #CF62A7 #DD91C1

Accessibility & contrast

On white

5.16
#BB398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BB398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB398B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB398B#FFFFFF#000000##FFFFFF
##BB398B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#C8365D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb398b;
/* rgb */ color: rgb(187, 57, 139);
/* oklch */ color: oklch(56.0% 0.185 346.0);
Tailwind
colors: {
  custom: {
    50: '#d37aad',
    500: '#bb398b',
    950: '#000000',
  },
}
SCSS
$custom: #bb398b;
$custom-light: #d37aad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb398b",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 322.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.18523,
    "h": 346
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#BB398B
secondary
#87C89F
accent
#DD814B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB398B

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

Preview Lab → · Contrast checker → · Palette generator →

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