#BB509D#BB509D

#BB509D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.164 H 339.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB509D
RGBrgb(187, 80, 157)
HSLhsl(317, 44%, 52%)
HSVhsv(317, 57%, 73%)
CMYKcmyk(0%, 57.2%, 16%, 26.7%)
CIE-LABlab(50.38, 52.21, -21.18)
CIE-LCHlch(50.38, 56.34, 337.92°)
OKLaboklab(59.36% 0.1542 -0.0569)
OKLCHoklch(59.36% 0.164 339.7)
XYZxyz(29.4485, 18.7388, 33.9577)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB509D #50BB6E
analogous
#A350BB #BB509D #BB5068
triadic
#BB509D #9DBB50 #509DBB
tetradic
#BB509D #BBA350 #50BB6E #5068BB
square
#BB509D #BBA350 #50BB6E #5068BB
split-complementary
#BB509D #68BB50 #50BBA3
monochromatic
#682856 #943A7B #BB509D #CC7CB6 #DDA8CE

Accessibility & contrast

On white

4.42
#BB509D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB509D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB509D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB509D#FFFFFF#000000##000000
##BB509D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#556D9F
Deuteranopia (green-blind)
#747E9A
Tritanopia (blue-blind)
#C5536F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb509d;
/* rgb */ color: rgb(187, 80, 157);
/* oklch */ color: oklch(59.4% 0.164 339.7);
Tailwind
colors: {
  custom: {
    50: '#d286ba',
    500: '#bb509d',
    950: '#000000',
  },
}
SCSS
$custom: #bb509d;
$custom-light: #d286ba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb509d",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 316.822,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.1644,
    "h": 339.7
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#BB509D
secondary
#9CCBA9
accent
#D47854
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB509D

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

Preview Lab → · Contrast checker → · Palette generator →

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