#BB397B#BB397B

#BB397B is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.177 H 353.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB397B
RGBrgb(187, 57, 123)
HSLhsl(330, 53%, 48%)
HSVhsv(330, 70%, 73%)
CMYKcmyk(0%, 69.5%, 34.2%, 26.7%)
CIE-LABlab(45.53, 57.41, -8.11)
CIE-LCHlch(45.53, 57.98, 351.95°)
OKLaboklab(55.37% 0.1756 -0.0208)
OKLCHoklch(55.37% 0.177 353.3)
XYZxyz(25.5333, 14.9240, 20.2711)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB397B #39BB79
analogous
#BA39BB #BB397B #BB393A
triadic
#BB397B #7BBB39 #397BBB
tetradic
#BB397B #BBBA39 #39BB79 #393ABB
square
#BB397B #BBBA39 #39BB79 #393ABB
split-complementary
#BB397B #3ABB39 #39BBBA
monochromatic
#5D1C3D #8C2B5C #BB397B #CF6299 #DD91B8

Accessibility & contrast

On white

5.27
#BB397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BB397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB397B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB397B#FFFFFF#000000##FFFFFF
##BB397B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7D
Deuteranopia (green-blind)
#737478
Tritanopia (blue-blind)
#C92F55
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb397b;
/* rgb */ color: rgb(187, 57, 123);
/* oklch */ color: oklch(55.4% 0.177 353.3);
Tailwind
colors: {
  custom: {
    50: '#d479a1',
    500: '#bb397b',
    950: '#000000',
  },
}
SCSS
$custom: #bb397b;
$custom-light: #d479a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb397b",
  "rgb": {
    "r": 187,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 329.538,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.17682,
    "h": 353.3
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#BB397B
secondary
#87C8A7
accent
#DD934B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BB397B

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

Preview Lab → · Contrast checker → · Palette generator →

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