#BB308B#BB308B

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

Color values

HEX#BB308B
RGBrgb(187, 48, 139)
HSLhsl(321, 59%, 46%)
HSVhsv(321, 74%, 73%)
CMYKcmyk(0%, 74.3%, 25.7%, 26.7%)
CIE-LABlab(45.01, 62.50, -18.66)
CIE-LCHlch(45.01, 65.22, 343.38°)
OKLaboklab(55.18% 0.1894 -0.0496)
OKLCHoklch(55.18% 0.196 345.3)
XYZxyz(26.2118, 14.5456, 25.8483)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB308B #30BB60
analogous
#A530BB #BB308B #BB3046
triadic
#BB308B #8BBB30 #308BBB
tetradic
#BB308B #BBA530 #30BB60 #3046BB
square
#BB308B #BBA530 #30BB60 #3046BB
split-complementary
#BB308B #46BB30 #30BBA5
monochromatic
#5A1743 #8A2367 #BB308B #D355A8 #E086C1

Accessibility & contrast

On white

5.37
#BB308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB308B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB308B#FFFFFF#000000##FFFFFF
##BB308B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#6C7388
Tritanopia (blue-blind)
#C82D5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb308b;
/* rgb */ color: rgb(187, 48, 139);
/* oklch */ color: oklch(55.2% 0.196 345.3);
Tailwind
colors: {
  custom: {
    50: '#d476ad',
    500: '#bb308b',
    950: '#000000',
  },
}
SCSS
$custom: #bb308b;
$custom-light: #d476ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bb308b",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 320.719,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.19577,
    "h": 345.3
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#BB308B
secondary
#7DC998
accent
#E27C45
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BB308B

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

Preview Lab → · Contrast checker → · Palette generator →

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