#BB5299#BB5299

#BB5299 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.5% C 0.158 H 341.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB5299
RGBrgb(187, 82, 153)
HSLhsl(319, 44%, 53%)
HSVhsv(319, 56%, 73%)
CMYKcmyk(0%, 56.1%, 18.2%, 26.7%)
CIE-LABlab(50.57, 50.67, -18.52)
CIE-LCHlch(50.57, 53.95, 339.92°)
OKLaboklab(59.45% 0.1505 -0.0495)
OKLCHoklch(59.45% 0.158 341.8)
XYZxyz(29.2612, 18.9017, 32.2381)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5299 #52BB74
analogous
#A952BB #BB5299 #BB5264
triadic
#BB5299 #99BB52 #5299BB
tetradic
#BB5299 #BBA952 #52BB74 #5264BB
square
#BB5299 #BBA952 #52BB74 #5264BB
split-complementary
#BB5299 #64BB52 #52BBA9
monochromatic
#692955 #953B78 #BB5299 #CC7EB3 #DEAACD

Accessibility & contrast

On white

4.39
#BB5299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB5299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5299
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5299#FFFFFF#000000##000000
##BB52991.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#596E9B
Deuteranopia (green-blind)
#767F96
Tritanopia (blue-blind)
#C5536F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb5299;
/* rgb */ color: rgb(187, 82, 153);
/* oklch */ color: oklch(59.5% 0.158 341.8);
Tailwind
colors: {
  custom: {
    50: '#d287b7',
    500: '#bb5299',
    950: '#000000',
  },
}
SCSS
$custom: #bb5299;
$custom-light: #d287b7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5299",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 319.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.15845,
    "h": 341.8
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#BB5299
secondary
#9ECBAC
accent
#D37E54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5299

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

Preview Lab → · Contrast checker → · Palette generator →

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