#BB308E#BB308E

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

Color values

HEX#BB308E
RGBrgb(187, 48, 142)
HSLhsl(319, 59%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 74.3%, 24.1%, 26.7%)
CIE-LABlab(45.13, 62.88, -20.28)
CIE-LCHlch(45.13, 66.07, 342.12°)
OKLaboklab(55.32% 0.19 -0.0541)
OKLCHoklch(55.32% 0.198 344.1)
XYZxyz(26.4340, 14.6345, 27.0186)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB308E #30BB5D
analogous
#A230BB #BB308E #BB3049
triadic
#BB308E #8EBB30 #308EBB
tetradic
#BB308E #BBA230 #30BB5D #3049BB
square
#BB308E #BBA230 #30BB5D #3049BB
split-complementary
#BB308E #49BB30 #30BBA2
monochromatic
#5A1744 #8A2369 #BB308E #D355AA #E086C3

Accessibility & contrast

On white

5.35
#BB308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BB308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB308E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB308E#FFFFFF#000000##FFFFFF
##BB308E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#6B738B
Tritanopia (blue-blind)
#C72F5B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb308e;
/* rgb */ color: rgb(187, 48, 142);
/* oklch */ color: oklch(55.3% 0.198 344.1);
Tailwind
colors: {
  custom: {
    50: '#d476af',
    500: '#bb308e',
    950: '#000000',
  },
}
SCSS
$custom: #bb308e;
$custom-light: #d476af;
$custom-dark: #000000;
JSON
{
  "hex": "#bb308e",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 319.424,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.19753,
    "h": 344.1
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#BB308E
secondary
#7DC996
accent
#E27845
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BB308E

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

Preview Lab → · Contrast checker → · Palette generator →

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