#BB5398#BB5398

#BB5398 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.5% C 0.156 H 342.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB5398
RGBrgb(187, 83, 152)
HSLhsl(320, 43%, 53%)
HSVhsv(320, 56%, 73%)
CMYKcmyk(0%, 55.6%, 18.7%, 26.7%)
CIE-LABlab(50.71, 50.04, -17.72)
CIE-LCHlch(50.71, 53.08, 340.50°)
OKLaboklab(59.55% 0.1489 -0.0473)
OKLCHoklch(59.55% 0.156 342.4)
XYZxyz(29.2549, 19.0207, 31.8303)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5398 #53BB76
analogous
#AA53BB #BB5398 #BB5364
triadic
#BB5398 #98BB53 #5398BB
tetradic
#BB5398 #BBAA53 #53BB76 #5364BB
square
#BB5398 #BBAA53 #53BB76 #5364BB
split-complementary
#BB5398 #64BB53 #53BBAA
monochromatic
#6A2A54 #963B77 #BB5398 #CC7FB2 #DEABCD

Accessibility & contrast

On white

4.37
#BB5398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BB5398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5398
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5398#FFFFFF#000000##000000
##BB53981.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E9A
Deuteranopia (green-blind)
#777F95
Tritanopia (blue-blind)
#C5546F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb5398;
/* rgb */ color: rgb(187, 83, 152);
/* oklch */ color: oklch(59.5% 0.156 342.4);
Tailwind
colors: {
  custom: {
    50: '#d288b6',
    500: '#bb5398',
    950: '#000000',
  },
}
SCSS
$custom: #bb5398;
$custom-light: #d288b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5398",
  "rgb": {
    "r": 187,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 320.192,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59545,
    "c": 0.15617,
    "h": 342.4
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

primary
#BB5398
secondary
#9ECBAE
accent
#D37F55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5398

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

Preview Lab → · Contrast checker → · Palette generator →

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