#BB509C#BB509C

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

Color values

HEX#BB509C
RGBrgb(187, 80, 156)
HSLhsl(317, 44%, 52%)
HSVhsv(317, 57%, 73%)
CMYKcmyk(0%, 57.2%, 16.6%, 26.7%)
CIE-LABlab(50.34, 52.06, -20.65)
CIE-LCHlch(50.34, 56.01, 338.36°)
OKLaboklab(59.32% 0.154 -0.0554)
OKLCHoklch(59.32% 0.164 340.2)
XYZxyz(29.3635, 18.7048, 33.5099)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB509C #50BB6F
analogous
#A450BB #BB509C #BB5067
triadic
#BB509C #9CBB50 #509CBB
tetradic
#BB509C #BBA450 #50BB6F #5067BB
square
#BB509C #BBA450 #50BB6F #5067BB
split-complementary
#BB509C #67BB50 #50BBA4
monochromatic
#682856 #943A7A #BB509C #CC7CB5 #DDA8CE

Accessibility & contrast

On white

4.43
#BB509C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BB509C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB509C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB509C#FFFFFF#000000##000000
##BB509C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#566D9E
Deuteranopia (green-blind)
#747E99
Tritanopia (blue-blind)
#C5526F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb509c;
/* rgb */ color: rgb(187, 80, 156);
/* oklch */ color: oklch(59.3% 0.164 340.2);
Tailwind
colors: {
  custom: {
    50: '#d286b9',
    500: '#bb509c',
    950: '#000000',
  },
}
SCSS
$custom: #bb509c;
$custom-light: #d286b9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb509c",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 317.383,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.16369,
    "h": 340.2
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#BB509C
secondary
#9CCBAA
accent
#D47954
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB509C

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

Preview Lab → · Contrast checker → · Palette generator →

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