#BB309F#BB309F

#BB309F is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.208 H 337.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB309F
RGBrgb(187, 48, 159)
HSLhsl(312, 59%, 46%)
HSVhsv(312, 74%, 73%)
CMYKcmyk(0%, 74.3%, 15%, 26.7%)
CIE-LABlab(45.89, 65.19, -29.33)
CIE-LCHlch(45.89, 71.48, 335.77°)
OKLaboklab(56.11% 0.1925 -0.0797)
OKLCHoklch(56.11% 0.208 337.5)
XYZxyz(27.8090, 15.1845, 34.2605)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB309F #30BB4C
analogous
#9130BB #BB309F #BB3059
triadic
#BB309F #9FBB30 #309FBB
tetradic
#BB309F #BB9130 #30BB4C #3059BB
square
#BB309F #BB9130 #30BB4C #3059BB
split-complementary
#BB309F #59BB30 #30BB91
monochromatic
#5A174C #8A2376 #BB309F #D355BA #E086CE

Accessibility & contrast

On white

5.20
#BB309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB309F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB309F#FFFFFF#000000##FFFFFF
##BB309F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#65749C
Tritanopia (blue-blind)
#C53864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb309f;
/* rgb */ color: rgb(187, 48, 159);
/* oklch */ color: oklch(56.1% 0.208 337.5);
Tailwind
colors: {
  custom: {
    50: '#d376bb',
    500: '#bb309f',
    950: '#000000',
  },
}
SCSS
$custom: #bb309f;
$custom-light: #d376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb309f",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 312.086,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.20833,
    "h": 337.5
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#BB309F
secondary
#7DC98D
accent
#E26545
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB309F

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

Preview Lab → · Contrast checker → · Palette generator →

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