#BB1B98#BB1B98

#BB1B98 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.4% C 0.222 H 339.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BB1B98
RGBrgb(187, 27, 152)
HSLhsl(313, 75%, 42%)
HSVhsv(313, 86%, 73%)
CMYKcmyk(0%, 85.6%, 18.7%, 26.7%)
CIE-LABlab(43.68, 69.62, -28.58)
CIE-LCHlch(43.68, 75.26, 337.68°)
OKLaboklab(54.42% 0.208 -0.0774)
OKLCHoklch(54.42% 0.222 339.6)
XYZxyz(26.5538, 13.6184, 30.9299)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1B98 #1BBB3E
analogous
#8E1BBB #BB1B98 #BB1B48
triadic
#BB1B98 #98BB1B #1B98BB
tetradic
#BB1B98 #BB8E1B #1BBB3E #1B48BB
square
#BB1B98 #BB8E1B #1BBB3E #1B48BB
split-complementary
#BB1B98 #48BB1B #1BBB8E
monochromatic
#500C41 #86136D #BB1B98 #E132BB #E967CD

Accessibility & contrast

On white

5.64
#BB1B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BB1B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1B98
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1B98#FFFFFF#000000##FFFFFF
##BB1B981.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#C6245B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb1b98;
/* rgb */ color: rgb(187, 27, 152);
/* oklch */ color: oklch(54.4% 0.222 339.6);
Tailwind
colors: {
  custom: {
    50: '#d46fb6',
    500: '#bb1b98',
    950: '#000000',
  },
}
SCSS
$custom: #bb1b98;
$custom-light: #d46fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1b98",
  "rgb": {
    "r": 187,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 313.125,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.22198,
    "h": 339.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#BB1B98
secondary
#63CE7B
accent
#F15F36
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB1B98

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

Preview Lab → · Contrast checker → · Palette generator →

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