#BB2098#BB2098

#BB2098 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 339.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BB2098
RGBrgb(187, 32, 152)
HSLhsl(314, 71%, 43%)
HSVhsv(314, 83%, 73%)
CMYKcmyk(0%, 82.9%, 18.7%, 26.7%)
CIE-LABlab(44.04, 68.57, -28.01)
CIE-LCHlch(44.04, 74.07, 337.78°)
OKLaboklab(54.68% 0.2049 -0.0758)
OKLCHoklch(54.68% 0.218 339.7)
XYZxyz(26.6783, 13.8676, 30.9714)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2098 #20BB43
analogous
#9020BB #BB2098 #BB204B
triadic
#BB2098 #98BB20 #2098BB
tetradic
#BB2098 #BB9020 #20BB43 #204BBB
square
#BB2098 #BB9020 #20BB43 #204BBB
split-complementary
#BB2098 #4BBB20 #20BB90
monochromatic
#520E43 #87176E #BB2098 #DD3BB9 #E66FCB

Accessibility & contrast

On white

5.57
#BB2098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BB2098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2098
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2098#FFFFFF#000000##FFFFFF
##BB20981.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599B
Deuteranopia (green-blind)
#627195
Tritanopia (blue-blind)
#C6285C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb2098;
/* rgb */ color: rgb(187, 32, 152);
/* oklch */ color: oklch(54.7% 0.218 339.7);
Tailwind
colors: {
  custom: {
    50: '#d470b6',
    500: '#bb2098',
    950: '#000000',
  },
}
SCSS
$custom: #bb2098;
$custom-light: #d470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2098",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 313.548,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.21844,
    "h": 339.7
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#BB2098
secondary
#6ACD80
accent
#EE633A
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2098

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

Preview Lab → · Contrast checker → · Palette generator →

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