#BB5296#BB5296

#BB5296 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.3% C 0.156 H 343.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB5296
RGBrgb(187, 82, 150)
HSLhsl(321, 44%, 53%)
HSVhsv(321, 56%, 73%)
CMYKcmyk(0%, 56.1%, 19.8%, 26.7%)
CIE-LABlab(50.46, 50.22, -16.92)
CIE-LCHlch(50.46, 52.99, 341.38°)
OKLaboklab(59.33% 0.1498 -0.045)
OKLCHoklch(59.33% 0.156 343.3)
XYZxyz(29.0165, 18.8038, 30.9495)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5296 #52BB77
analogous
#AB52BB #BB5296 #BB5261
triadic
#BB5296 #96BB52 #5296BB
tetradic
#BB5296 #BBAB52 #52BB77 #5261BB
square
#BB5296 #BBAB52 #52BB77 #5261BB
split-complementary
#BB5296 #61BB52 #52BBAB
monochromatic
#692953 #953B75 #BB5296 #CC7EB1 #DEAACB

Accessibility & contrast

On white

4.41
#BB5296 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BB5296 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5296
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5296#FFFFFF#000000##000000
##BB52961.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D98
Deuteranopia (green-blind)
#777E93
Tritanopia (blue-blind)
#C6526D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb5296;
/* rgb */ color: rgb(187, 82, 150);
/* oklch */ color: oklch(59.3% 0.156 343.3);
Tailwind
colors: {
  custom: {
    50: '#d287b5',
    500: '#bb5296',
    950: '#000000',
  },
}
SCSS
$custom: #bb5296;
$custom-light: #d287b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5296",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 321.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59331,
    "c": 0.15641,
    "h": 343.3
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5296

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

Preview Lab → · Contrast checker → · Palette generator →

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