#BB308C#BB308C

#BB308C is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.196 H 344.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB308C
RGBrgb(187, 48, 140)
HSLhsl(320, 59%, 46%)
HSVhsv(320, 74%, 73%)
CMYKcmyk(0%, 74.3%, 25.1%, 26.7%)
CIE-LABlab(45.05, 62.63, -19.20)
CIE-LCHlch(45.05, 65.50, 342.96°)
OKLaboklab(55.23% 0.1896 -0.0511)
OKLCHoklch(55.23% 0.196 344.9)
XYZxyz(26.2852, 14.5750, 26.2348)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB308C #30BB5F
analogous
#A430BB #BB308C #BB3046
triadic
#BB308C #8CBB30 #308CBB
tetradic
#BB308C #BBA430 #30BB5F #3046BB
square
#BB308C #BBA430 #30BB5F #3046BB
split-complementary
#BB308C #46BB30 #30BBA4
monochromatic
#5A1743 #8A2368 #BB308C #D355A9 #E086C1

Accessibility & contrast

On white

5.36
#BB308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BB308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB308C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB308C#FFFFFF#000000##FFFFFF
##BB308C1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8E
Deuteranopia (green-blind)
#6B7389
Tritanopia (blue-blind)
#C82E5A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb308c;
/* rgb */ color: rgb(187, 48, 140);
/* oklch */ color: oklch(55.2% 0.196 344.9);
Tailwind
colors: {
  custom: {
    50: '#d476ad',
    500: '#bb308c',
    950: '#000000',
  },
}
SCSS
$custom: #bb308c;
$custom-light: #d476ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb308c",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 320.288,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.19635,
    "h": 344.9
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#BB308C
secondary
#7DC997
accent
#E27B45
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BB308C

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

Preview Lab → · Contrast checker → · Palette generator →

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