#BB3197#BB3197

#BB3197 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.202 H 340.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB3197
RGBrgb(187, 49, 151)
HSLhsl(316, 58%, 46%)
HSVhsv(316, 74%, 73%)
CMYKcmyk(0%, 73.8%, 19.3%, 26.7%)
CIE-LABlab(45.63, 63.75, -24.93)
CIE-LCHlch(45.63, 68.45, 338.64°)
OKLaboklab(55.81% 0.1905 -0.0672)
OKLCHoklch(55.81% 0.202 340.6)
XYZxyz(27.1785, 14.9985, 30.7358)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3197 #31BB55
analogous
#9A31BB #BB3197 #BB3152
triadic
#BB3197 #97BB31 #3197BB
tetradic
#BB3197 #BB9A31 #31BB55 #3152BB
square
#BB3197 #BB9A31 #31BB55 #3152BB
split-complementary
#BB3197 #52BB31 #31BB9A
monochromatic
#5A1849 #8B2470 #BB3197 #D356B2 #E087C8

Accessibility & contrast

On white

5.25
#BB3197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB3197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3197
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3197#FFFFFF#000000##FFFFFF
##BB31971.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9A
Deuteranopia (green-blind)
#687494
Tritanopia (blue-blind)
#C63560
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb3197;
/* rgb */ color: rgb(187, 49, 151);
/* oklch */ color: oklch(55.8% 0.202 340.6);
Tailwind
colors: {
  custom: {
    50: '#d376b6',
    500: '#bb3197',
    950: '#000000',
  },
}
SCSS
$custom: #bb3197;
$custom-light: #d376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3197",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 315.652,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.202,
    "h": 340.6
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#BB3197
secondary
#7FC992
accent
#E26F46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3197

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

Preview Lab → · Contrast checker → · Palette generator →

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