#BB3198#BB3198

#BB3198 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.203 H 340.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB3198
RGBrgb(187, 49, 152)
HSLhsl(315, 58%, 46%)
HSVhsv(315, 74%, 73%)
CMYKcmyk(0%, 73.8%, 18.7%, 26.7%)
CIE-LABlab(45.68, 63.89, -25.47)
CIE-LCHlch(45.68, 68.78, 338.27°)
OKLaboklab(55.85% 0.1906 -0.0687)
OKLCHoklch(55.85% 0.203 340.2)
XYZxyz(27.2601, 15.0311, 31.1653)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3198 #31BB54
analogous
#9931BB #BB3198 #BB3153
triadic
#BB3198 #98BB31 #3198BB
tetradic
#BB3198 #BB9931 #31BB54 #3153BB
square
#BB3198 #BB9931 #31BB54 #3153BB
split-complementary
#BB3198 #53BB31 #31BB99
monochromatic
#5A1849 #8B2471 #BB3198 #D356B3 #E087C9

Accessibility & contrast

On white

5.24
#BB3198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BB3198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3198
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3198#FFFFFF#000000##FFFFFF
##BB31981.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#687495
Tritanopia (blue-blind)
#C63561
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb3198;
/* rgb */ color: rgb(187, 49, 152);
/* oklch */ color: oklch(55.9% 0.203 340.2);
Tailwind
colors: {
  custom: {
    50: '#d376b6',
    500: '#bb3198',
    950: '#000000',
  },
}
SCSS
$custom: #bb3198;
$custom-light: #d376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3198",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 315.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.20263,
    "h": 340.2
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB3198

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

Preview Lab → · Contrast checker → · Palette generator →

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