#BB309C#BB309C

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

Color values

HEX#BB309C
RGBrgb(187, 48, 156)
HSLhsl(313, 59%, 46%)
HSVhsv(313, 74%, 73%)
CMYKcmyk(0%, 74.3%, 16.6%, 26.7%)
CIE-LABlab(45.75, 64.76, -27.76)
CIE-LCHlch(45.75, 70.46, 336.80°)
OKLaboklab(55.96% 0.1921 -0.0752)
OKLCHoklch(55.96% 0.206 338.6)
XYZxyz(27.5519, 15.0817, 32.9061)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB309C #30BB4F
analogous
#9430BB #BB309C #BB3056
triadic
#BB309C #9CBB30 #309CBB
tetradic
#BB309C #BB9430 #30BB4F #3056BB
square
#BB309C #BB9430 #30BB4F #3056BB
split-complementary
#BB309C #56BB30 #30BB94
monochromatic
#5A174B #8A2373 #BB309C #D355B7 #E086CC

Accessibility & contrast

On white

5.23
#BB309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB309C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB309C#FFFFFF#000000##FFFFFF
##BB309C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#667499
Tritanopia (blue-blind)
#C63763
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb309c;
/* rgb */ color: rgb(187, 48, 156);
/* oklch */ color: oklch(56.0% 0.206 338.6);
Tailwind
colors: {
  custom: {
    50: '#d376b9',
    500: '#bb309c',
    950: '#000000',
  },
}
SCSS
$custom: #bb309c;
$custom-light: #d376b9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb309c",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 313.381,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.20633,
    "h": 338.6
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB309C

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

Preview Lab → · Contrast checker → · Palette generator →

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