#BB5796#BB5796

#BB5796 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.0% C 0.148 H 343.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB5796
RGBrgb(187, 87, 150)
HSLhsl(322, 42%, 54%)
HSVhsv(322, 53%, 73%)
CMYKcmyk(0%, 53.5%, 19.8%, 26.7%)
CIE-LABlab(51.37, 47.81, -15.54)
CIE-LCHlch(51.37, 50.27, 342.00°)
OKLaboklab(60.01% 0.1425 -0.0413)
OKLCHoklch(60.01% 0.148 343.9)
XYZxyz(29.4074, 19.5856, 31.0798)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5796 #57BB7C
analogous
#AE57BB #BB5796 #BB5764
triadic
#BB5796 #96BB57 #5796BB
tetradic
#BB5796 #BBAE57 #57BB7C #5764BB
square
#BB5796 #BBAE57 #57BB7C #5764BB
split-complementary
#BB5796 #64BB57 #57BBAE
monochromatic
#6C2C54 #973D76 #BB5796 #CD83B1 #DEAECC

Accessibility & contrast

On white

4.27
#BB5796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5796
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5796#FFFFFF#000000##000000
##BB57961.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7098
Deuteranopia (green-blind)
#7A8193
Tritanopia (blue-blind)
#C65770
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb5796;
/* rgb */ color: rgb(187, 87, 150);
/* oklch */ color: oklch(60.0% 0.148 343.9);
Tailwind
colors: {
  custom: {
    50: '#d28ab5',
    500: '#bb5796',
    950: '#000000',
  },
}
SCSS
$custom: #bb5796;
$custom-light: #d28ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5796",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 322.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.14838,
    "h": 343.9
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#BB5796
secondary
#A2CCB1
accent
#D28456
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5796

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

Preview Lab → · Contrast checker → · Palette generator →

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