#BB5899#BB5899

#BB5899 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.149 H 342.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BB5899
RGBrgb(187, 88, 153)
HSLhsl(321, 42%, 54%)
HSVhsv(321, 53%, 73%)
CMYKcmyk(0%, 52.9%, 18.2%, 26.7%)
CIE-LABlab(51.66, 47.77, -16.86)
CIE-LCHlch(51.66, 50.66, 340.56°)
OKLaboklab(60.26% 0.1419 -0.0449)
OKLCHoklch(60.26% 0.149 342.4)
XYZxyz(29.7336, 19.8465, 32.3956)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5899 #58BB7A
analogous
#AC58BB #BB5899 #BB5868
triadic
#BB5899 #99BB58 #5899BB
tetradic
#BB5899 #BBAC58 #58BB7A #5868BB
square
#BB5899 #BBAC58 #58BB7A #5868BB
split-complementary
#BB5899 #68BB58 #58BBAC
monochromatic
#6C2C56 #983E79 #BB5899 #CD83B4 #DEAFCE

Accessibility & contrast

On white

4.23
#BB5899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BB5899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5899
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5899#FFFFFF#000000##000000
##BB58991.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719B
Deuteranopia (green-blind)
#7A8196
Tritanopia (blue-blind)
#C55971
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb5899;
/* rgb */ color: rgb(187, 88, 153);
/* oklch */ color: oklch(60.3% 0.149 342.4);
Tailwind
colors: {
  custom: {
    50: '#d28bb7',
    500: '#bb5899',
    950: '#000000',
  },
}
SCSS
$custom: #bb5899;
$custom-light: #d28bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5899",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 320.606,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.14879,
    "h": 342.4
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#BB5899
secondary
#A2CDB1
accent
#D28056
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5899

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

Preview Lab → · Contrast checker → · Palette generator →

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