#BB5196#BB5196

#BB5196 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.2% C 0.158 H 343.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB5196
RGBrgb(187, 81, 150)
HSLhsl(321, 44%, 53%)
HSVhsv(321, 57%, 73%)
CMYKcmyk(0%, 56.7%, 19.8%, 26.7%)
CIE-LABlab(50.28, 50.69, -17.19)
CIE-LCHlch(50.28, 53.53, 341.27°)
OKLaboklab(59.2% 0.1512 -0.0458)
OKLCHoklch(59.2% 0.158 343.2)
XYZxyz(28.9417, 18.6541, 30.9246)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5196 #51BB76
analogous
#AB51BB #BB5196 #BB5161
triadic
#BB5196 #96BB51 #5196BB
tetradic
#BB5196 #BBAB51 #51BB76 #5161BB
square
#BB5196 #BBAB51 #51BB76 #5161BB
split-complementary
#BB5196 #61BB51 #51BBAB
monochromatic
#692952 #953A75 #BB5196 #CC7DB1 #DDA9CB

Accessibility & contrast

On white

4.44
#BB5196 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BB5196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5196
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5196#FFFFFF#000000##000000
##BB51961.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D98
Deuteranopia (green-blind)
#777E93
Tritanopia (blue-blind)
#C6516D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb5196;
/* rgb */ color: rgb(187, 81, 150);
/* oklch */ color: oklch(59.2% 0.158 343.2);
Tailwind
colors: {
  custom: {
    50: '#d287b5',
    500: '#bb5196',
    950: '#000000',
  },
}
SCSS
$custom: #bb5196;
$custom-light: #d287b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5196",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 320.943,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.592,
    "c": 0.15798,
    "h": 343.2
  },
  "luminance": 0.18652
}

Semantic roles & 50–950 ramp

primary
#BB5196
secondary
#9DCBAD
accent
#D48154
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5196

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

Preview Lab → · Contrast checker → · Palette generator →

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