#BB309E#BB309E

#BB309E is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.1% C 0.208 H 337.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB309E
RGBrgb(187, 48, 158)
HSLhsl(313, 59%, 46%)
HSVhsv(313, 74%, 73%)
CMYKcmyk(0%, 74.3%, 15.5%, 26.7%)
CIE-LABlab(45.84, 65.04, -28.81)
CIE-LCHlch(45.84, 71.14, 336.11°)
OKLaboklab(56.06% 0.1924 -0.0782)
OKLCHoklch(56.06% 0.208 337.9)
XYZxyz(27.7226, 15.1499, 33.8053)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB309E #30BB4D
analogous
#9230BB #BB309E #BB3058
triadic
#BB309E #9EBB30 #309EBB
tetradic
#BB309E #BB9230 #30BB4D #3058BB
square
#BB309E #BB9230 #30BB4D #3058BB
split-complementary
#BB309E #58BB30 #30BB92
monochromatic
#5A174C #8A2375 #BB309E #D355B9 #E086CD

Accessibility & contrast

On white

5.21
#BB309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BB309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB309E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB309E#FFFFFF#000000##FFFFFF
##BB309E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#65749B
Tritanopia (blue-blind)
#C53864
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb309e;
/* rgb */ color: rgb(187, 48, 158);
/* oklch */ color: oklch(56.1% 0.208 337.9);
Tailwind
colors: {
  custom: {
    50: '#d376bb',
    500: '#bb309e',
    950: '#000000',
  },
}
SCSS
$custom: #bb309e;
$custom-light: #d376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb309e",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 312.518,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.20766,
    "h": 337.9
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#BB309E
secondary
#7DC98D
accent
#E26645
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB309E

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

Preview Lab → · Contrast checker → · Palette generator →

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