#BB309D#BB309D

#BB309D is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.207 H 338.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB309D
RGBrgb(187, 48, 157)
HSLhsl(313, 59%, 46%)
HSVhsv(313, 74%, 73%)
CMYKcmyk(0%, 74.3%, 16%, 26.7%)
CIE-LABlab(45.79, 64.90, -28.28)
CIE-LCHlch(45.79, 70.80, 336.45°)
OKLaboklab(56.01% 0.1923 -0.0767)
OKLCHoklch(56.01% 0.207 338.2)
XYZxyz(27.6369, 15.1157, 33.3539)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB309D #30BB4E
analogous
#9330BB #BB309D #BB3057
triadic
#BB309D #9DBB30 #309DBB
tetradic
#BB309D #BB9330 #30BB4E #3057BB
square
#BB309D #BB9330 #30BB4E #3057BB
split-complementary
#BB309D #57BB30 #30BB93
monochromatic
#5A174B #8A2374 #BB309D #D355B8 #E086CC

Accessibility & contrast

On white

5.22
#BB309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB309D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB309D#FFFFFF#000000##FFFFFF
##BB309D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#C53763
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb309d;
/* rgb */ color: rgb(187, 48, 157);
/* oklch */ color: oklch(56.0% 0.207 338.2);
Tailwind
colors: {
  custom: {
    50: '#d376ba',
    500: '#bb309d',
    950: '#000000',
  },
}
SCSS
$custom: #bb309d;
$custom-light: #d376ba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb309d",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 312.95,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.20699,
    "h": 338.2
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#BB309D
secondary
#7DC98E
accent
#E26745
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB309D

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

Preview Lab → · Contrast checker → · Palette generator →

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