#BB5098#BB5098

#BB5098 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.161 H 342.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB5098
RGBrgb(187, 80, 152)
HSLhsl(320, 44%, 52%)
HSVhsv(320, 57%, 73%)
CMYKcmyk(0%, 57.2%, 18.7%, 26.7%)
CIE-LABlab(50.18, 51.46, -18.52)
CIE-LCHlch(50.18, 54.69, 340.20°)
OKLaboklab(59.15% 0.1531 -0.0495)
OKLCHoklch(59.15% 0.161 342.1)
XYZxyz(29.0303, 18.5716, 31.7554)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5098 #50BB73
analogous
#A850BB #BB5098 #BB5063
triadic
#BB5098 #98BB50 #5098BB
tetradic
#BB5098 #BBA850 #50BB73 #5063BB
square
#BB5098 #BBA850 #50BB73 #5063BB
split-complementary
#BB5098 #63BB50 #50BBA8
monochromatic
#682853 #943A77 #BB5098 #CC7CB2 #DDA8CC

Accessibility & contrast

On white

4.46
#BB5098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BB5098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5098
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5098#FFFFFF#000000##000000
##BB50981.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#576C9A
Deuteranopia (green-blind)
#767E95
Tritanopia (blue-blind)
#C6516D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb5098;
/* rgb */ color: rgb(187, 80, 152);
/* oklch */ color: oklch(59.2% 0.161 342.1);
Tailwind
colors: {
  custom: {
    50: '#d286b6',
    500: '#bb5098',
    950: '#000000',
  },
}
SCSS
$custom: #bb5098;
$custom-light: #d286b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5098",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 319.626,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.1609,
    "h": 342.1
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#BB5098
secondary
#9CCBAB
accent
#D47E54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5098

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

Preview Lab → · Contrast checker → · Palette generator →

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