#BB308D#BB308D

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

Color values

HEX#BB308D
RGBrgb(187, 48, 141)
HSLhsl(320, 59%, 46%)
HSVhsv(320, 74%, 73%)
CMYKcmyk(0%, 74.3%, 24.6%, 26.7%)
CIE-LABlab(45.09, 62.75, -19.74)
CIE-LCHlch(45.09, 65.79, 342.54°)
OKLaboklab(55.27% 0.1898 -0.0526)
OKLCHoklch(55.27% 0.197 344.5)
XYZxyz(26.3593, 14.6046, 26.6249)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB308D #30BB5E
analogous
#A330BB #BB308D #BB3047
triadic
#BB308D #8DBB30 #308DBB
tetradic
#BB308D #BBA330 #30BB5E #3047BB
square
#BB308D #BBA330 #30BB5E #3047BB
split-complementary
#BB308D #47BB30 #30BBA3
monochromatic
#5A1744 #8A2368 #BB308D #D355A9 #E086C2

Accessibility & contrast

On white

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

On black

3.92
#BB308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB308D#FFFFFF#000000##FFFFFF
##BB308D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C90
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#C72E5B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb308d;
/* rgb */ color: rgb(187, 48, 141);
/* oklch */ color: oklch(55.3% 0.197 344.5);
Tailwind
colors: {
  custom: {
    50: '#d476ae',
    500: '#bb308d',
    950: '#000000',
  },
}
SCSS
$custom: #bb308d;
$custom-light: #d476ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bb308d",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 319.856,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.19694,
    "h": 344.5
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB308D

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

Preview Lab → · Contrast checker → · Palette generator →

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