#BB5498#BB5498

#BB5498 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.7% C 0.155 H 342.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BB5498
RGBrgb(187, 84, 152)
HSLhsl(320, 43%, 53%)
HSVhsv(320, 55%, 73%)
CMYKcmyk(0%, 55.1%, 18.7%, 26.7%)
CIE-LABlab(50.89, 49.56, -17.44)
CIE-LCHlch(50.89, 52.54, 340.61°)
OKLaboklab(59.68% 0.1474 -0.0465)
OKLCHoklch(59.68% 0.155 342.5)
XYZxyz(29.3320, 19.1749, 31.8559)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5498 #54BB77
analogous
#AA54BB #BB5498 #BB5464
triadic
#BB5498 #98BB54 #5498BB
tetradic
#BB5498 #BBAA54 #54BB77 #5464BB
square
#BB5498 #BBAA54 #54BB77 #5464BB
split-complementary
#BB5498 #64BB54 #54BBAA
monochromatic
#6A2A55 #963C77 #BB5498 #CC80B2 #DEACCD

Accessibility & contrast

On white

4.34
#BB5498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BB5498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5498
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5498#FFFFFF#000000##000000
##BB54981.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9A
Deuteranopia (green-blind)
#787F95
Tritanopia (blue-blind)
#C5556F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb5498;
/* rgb */ color: rgb(187, 84, 152);
/* oklch */ color: oklch(59.7% 0.155 342.5);
Tailwind
colors: {
  custom: {
    50: '#d289b6',
    500: '#bb5498',
    950: '#000000',
  },
}
SCSS
$custom: #bb5498;
$custom-light: #d289b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5498",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 320.388,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.15457,
    "h": 342.5
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#BB5498
secondary
#9FCCAE
accent
#D38055
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5498

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

Preview Lab → · Contrast checker → · Palette generator →

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