#BB307B#BB307B

#BB307B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.187 H 352.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BB307B
RGBrgb(187, 48, 123)
HSLhsl(328, 59%, 46%)
HSVhsv(328, 74%, 73%)
CMYKcmyk(0%, 74.3%, 34.2%, 26.7%)
CIE-LABlab(44.39, 60.59, -9.82)
CIE-LCHlch(44.39, 61.38, 350.79°)
OKLaboklab(54.54% 0.1856 -0.0253)
OKLCHoklch(54.54% 0.187 352.2)
XYZxyz(25.1271, 14.1117, 20.1357)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB307B #30BB70
analogous
#B530BB #BB307B #BB3035
triadic
#BB307B #7BBB30 #307BBB
tetradic
#BB307B #BBB530 #30BB70 #3035BB
square
#BB307B #BBB530 #30BB70 #3035BB
split-complementary
#BB307B #35BB30 #30BBB5
monochromatic
#5A173B #8A235B #BB307B #D35599 #E086B6

Accessibility & contrast

On white

5.49
#BB307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BB307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB307B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB307B#FFFFFF#000000##FFFFFF
##BB307B1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#707278
Tritanopia (blue-blind)
#C92451
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb307b;
/* rgb */ color: rgb(187, 48, 123);
/* oklch */ color: oklch(54.5% 0.187 352.2);
Tailwind
colors: {
  custom: {
    50: '#d475a1',
    500: '#bb307b',
    950: '#000000',
  },
}
SCSS
$custom: #bb307b;
$custom-light: #d475a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb307b",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 327.626,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.18734,
    "h": 352.2
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#BB307B
secondary
#7DC9A0
accent
#E28E45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB307B

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

Preview Lab → · Contrast checker → · Palette generator →

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