#BB5197#BB5197

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

Color values

HEX#BB5197
RGBrgb(187, 81, 151)
HSLhsl(320, 44%, 53%)
HSVhsv(320, 57%, 73%)
CMYKcmyk(0%, 56.7%, 19.3%, 26.7%)
CIE-LABlab(50.32, 50.84, -17.72)
CIE-LCHlch(50.32, 53.84, 340.78°)
OKLaboklab(59.24% 0.1515 -0.0473)
OKLCHoklch(59.24% 0.159 342.7)
XYZxyz(29.0225, 18.6865, 31.3505)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5197 #51BB75
analogous
#AA51BB #BB5197 #BB5162
triadic
#BB5197 #97BB51 #5197BB
tetradic
#BB5197 #BBAA51 #51BB75 #5162BB
square
#BB5197 #BBAA51 #51BB75 #5162BB
split-complementary
#BB5197 #62BB51 #51BBAA
monochromatic
#692953 #953A76 #BB5197 #CC7DB1 #DDA9CC

Accessibility & contrast

On white

4.43
#BB5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BB5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5197
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5197#FFFFFF#000000##000000
##BB51971.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#767E94
Tritanopia (blue-blind)
#C6516D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb5197;
/* rgb */ color: rgb(187, 81, 151);
/* oklch */ color: oklch(59.2% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#d287b5',
    500: '#bb5197',
    950: '#000000',
  },
}
SCSS
$custom: #bb5197;
$custom-light: #d287b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5197",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 320.377,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.15865,
    "h": 342.7
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5197

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

Preview Lab → · Contrast checker → · Palette generator →

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