#BB3498#BB3498

#BB3498 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.1% C 0.199 H 340.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB3498
RGBrgb(187, 52, 152)
HSLhsl(316, 56%, 47%)
HSVhsv(316, 72%, 73%)
CMYKcmyk(0%, 72.2%, 18.7%, 26.7%)
CIE-LABlab(46.03, 62.89, -24.92)
CIE-LCHlch(46.03, 67.65, 338.38°)
OKLaboklab(56.11% 0.1876 -0.0672)
OKLCHoklch(56.11% 0.199 340.3)
XYZxyz(27.3898, 15.2905, 31.2085)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3498 #34BB57
analogous
#9B34BB #BB3498 #BB3454
triadic
#BB3498 #98BB34 #3498BB
tetradic
#BB3498 #BB9B34 #34BB57 #3454BB
square
#BB3498 #BB9B34 #34BB57 #3454BB
split-complementary
#BB3498 #54BB34 #34BB9B
monochromatic
#5B194A #8B2771 #BB3498 #D15BB3 #DF8BC9

Accessibility & contrast

On white

5.18
#BB3498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BB3498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3498
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3498#FFFFFF#000000##FFFFFF
##BB34981.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9B
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#C63862
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb3498;
/* rgb */ color: rgb(187, 52, 152);
/* oklch */ color: oklch(56.1% 0.199 340.3);
Tailwind
colors: {
  custom: {
    50: '#d378b6',
    500: '#bb3498',
    950: '#000000',
  },
}
SCSS
$custom: #bb3498;
$custom-light: #d378b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3498",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 315.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.19927,
    "h": 340.3
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#BB3498
secondary
#82C994
accent
#E06F48
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3498

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

Preview Lab → · Contrast checker → · Palette generator →

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