#BB5799#BB5799

#BB5799 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.1% C 0.150 H 342.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BB5799
RGBrgb(187, 87, 153)
HSLhsl(320, 42%, 54%)
HSVhsv(320, 53%, 73%)
CMYKcmyk(0%, 53.5%, 18.2%, 26.7%)
CIE-LABlab(51.48, 48.26, -17.14)
CIE-LCHlch(51.48, 51.21, 340.45°)
OKLaboklab(60.13% 0.1433 -0.0457)
OKLCHoklch(60.13% 0.15 342.3)
XYZxyz(29.6521, 19.6835, 32.3684)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5799 #57BB79
analogous
#AB57BB #BB5799 #BB5767
triadic
#BB5799 #99BB57 #5799BB
tetradic
#BB5799 #BBAB57 #57BB79 #5767BB
square
#BB5799 #BBAB57 #57BB79 #5767BB
split-complementary
#BB5799 #67BB57 #57BBAB
monochromatic
#6C2C56 #973D79 #BB5799 #CD83B3 #DEAECE

Accessibility & contrast

On white

4.25
#BB5799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BB5799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5799
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5799#FFFFFF#000000##000000
##BB57991.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E709B
Deuteranopia (green-blind)
#798196
Tritanopia (blue-blind)
#C55871
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb5799;
/* rgb */ color: rgb(187, 87, 153);
/* oklch */ color: oklch(60.1% 0.150 342.3);
Tailwind
colors: {
  custom: {
    50: '#d28ab7',
    500: '#bb5799',
    950: '#000000',
  },
}
SCSS
$custom: #bb5799;
$custom-light: #d28ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5799",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 320.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.15043,
    "h": 342.3
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5799

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

Preview Lab → · Contrast checker → · Palette generator →

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