#BB3898#BB3898

#BB3898 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.195 H 340.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB3898
RGBrgb(187, 56, 152)
HSLhsl(316, 54%, 48%)
HSVhsv(316, 70%, 73%)
CMYKcmyk(0%, 70.1%, 18.7%, 26.7%)
CIE-LABlab(46.53, 61.48, -24.15)
CIE-LCHlch(46.53, 66.05, 338.56°)
OKLaboklab(56.47% 0.1833 -0.065)
OKLCHoklch(56.47% 0.195 340.5)
XYZxyz(27.5759, 15.6628, 31.2706)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3898 #38BB5B
analogous
#9D38BB #BB3898 #BB3856
triadic
#BB3898 #98BB38 #3898BB
tetradic
#BB3898 #BB9D38 #38BB5B #3856BB
square
#BB3898 #BB9D38 #38BB5B #3856BB
split-complementary
#BB3898 #56BB38 #38BB9D
monochromatic
#5D1C4B #8C2A72 #BB3898 #D061B2 #DE90C9

Accessibility & contrast

On white

5.08
#BB3898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BB3898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3898
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3898#FFFFFF#000000##FFFFFF
##BB38981.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#C63B63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb3898;
/* rgb */ color: rgb(187, 56, 152);
/* oklch */ color: oklch(56.5% 0.195 340.5);
Tailwind
colors: {
  custom: {
    50: '#d37ab6',
    500: '#bb3898',
    950: '#000000',
  },
}
SCSS
$custom: #bb3898;
$custom-light: #d37ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3898",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 316.031,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.19454,
    "h": 340.5
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#BB3898
secondary
#86C898
accent
#DD724B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3898

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

Preview Lab → · Contrast checker → · Palette generator →

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