#BB5199#BB5199

#BB5199 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.3% C 0.160 H 341.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB5199
RGBrgb(187, 81, 153)
HSLhsl(319, 44%, 53%)
HSVhsv(319, 57%, 73%)
CMYKcmyk(0%, 56.7%, 18.2%, 26.7%)
CIE-LABlab(50.40, 51.14, -18.79)
CIE-LCHlch(50.40, 54.48, 339.82°)
OKLaboklab(59.32% 0.1519 -0.0502)
OKLCHoklch(59.32% 0.16 341.7)
XYZxyz(29.1863, 18.7520, 32.2131)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5199 #51BB73
analogous
#A851BB #BB5199 #BB5164
triadic
#BB5199 #99BB51 #5199BB
tetradic
#BB5199 #BBA851 #51BB73 #5164BB
square
#BB5199 #BBA851 #51BB73 #5164BB
split-complementary
#BB5199 #64BB51 #51BBA8
monochromatic
#692954 #953A78 #BB5199 #CC7DB3 #DDA9CD

Accessibility & contrast

On white

4.42
#BB5199 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB5199 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5199
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5199#FFFFFF#000000##000000
##BB51991.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D9B
Deuteranopia (green-blind)
#767E96
Tritanopia (blue-blind)
#C5526E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb5199;
/* rgb */ color: rgb(187, 81, 153);
/* oklch */ color: oklch(59.3% 0.160 341.7);
Tailwind
colors: {
  custom: {
    50: '#d287b7',
    500: '#bb5199',
    950: '#000000',
  },
}
SCSS
$custom: #bb5199;
$custom-light: #d287b7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5199",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 319.245,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.16002,
    "h": 341.7
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#BB5199
secondary
#9DCBAC
accent
#D47D54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5199

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

Preview Lab → · Contrast checker → · Palette generator →

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