#BB3298#BB3298

#BB3298 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 55.9% C 0.202 H 340.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB3298
RGBrgb(187, 50, 152)
HSLhsl(315, 58%, 46%)
HSVhsv(315, 73%, 73%)
CMYKcmyk(0%, 73.3%, 18.7%, 26.7%)
CIE-LABlab(45.79, 63.56, -25.29)
CIE-LCHlch(45.79, 68.41, 338.31°)
OKLaboklab(55.94% 0.1896 -0.0682)
OKLCHoklch(55.94% 0.202 340.2)
XYZxyz(27.3024, 15.1157, 31.1794)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3298 #32BB55
analogous
#9A32BB #BB3298 #BB3254
triadic
#BB3298 #98BB32 #3298BB
tetradic
#BB3298 #BB9A32 #32BB55 #3254BB
square
#BB3298 #BB9A32 #32BB55 #3254BB
split-complementary
#BB3298 #54BB32 #32BB9A
monochromatic
#5A184A #8B2571 #BB3298 #D258B3 #DF88C9

Accessibility & contrast

On white

5.22
#BB3298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB3298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3298
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3298#FFFFFF#000000##FFFFFF
##BB32981.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#687495
Tritanopia (blue-blind)
#C63661
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb3298;
/* rgb */ color: rgb(187, 50, 152);
/* oklch */ color: oklch(55.9% 0.202 340.2);
Tailwind
colors: {
  custom: {
    50: '#d377b6',
    500: '#bb3298',
    950: '#000000',
  },
}
SCSS
$custom: #bb3298;
$custom-light: #d377b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3298",
  "rgb": {
    "r": 187,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 315.328,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.20153,
    "h": 340.2
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#BB3298
secondary
#80C992
accent
#E16E47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3298

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

Preview Lab → · Contrast checker → · Palette generator →

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