#BB1D98#BB1D98

#BB1D98 is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.5% C 0.221 H 339.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BB1D98
RGBrgb(187, 29, 152)
HSLhsl(313, 73%, 42%)
HSVhsv(313, 84%, 73%)
CMYKcmyk(0%, 84.5%, 18.7%, 26.7%)
CIE-LABlab(43.82, 69.22, -28.36)
CIE-LCHlch(43.82, 74.80, 337.72°)
OKLaboklab(54.52% 0.2068 -0.0768)
OKLCHoklch(54.52% 0.221 339.6)
XYZxyz(26.6012, 13.7133, 30.9457)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1D98 #1DBB40
analogous
#8F1DBB #BB1D98 #BB1D49
triadic
#BB1D98 #98BB1D #1D98BB
tetradic
#BB1D98 #BB8F1D #1DBB40 #1D49BB
square
#BB1D98 #BB8F1D #1DBB40 #1D49BB
split-complementary
#BB1D98 #49BB1D #1DBB8F
monochromatic
#510D42 #86156D #BB1D98 #E035BA #E86ACC

Accessibility & contrast

On white

5.61
#BB1D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BB1D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1D98
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1D98#FFFFFF#000000##FFFFFF
##BB1D981.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#C6255C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb1d98;
/* rgb */ color: rgb(187, 29, 152);
/* oklch */ color: oklch(54.5% 0.221 339.6);
Tailwind
colors: {
  custom: {
    50: '#d470b6',
    500: '#bb1d98',
    950: '#000000',
  },
}
SCSS
$custom: #bb1d98;
$custom-light: #d470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1d98",
  "rgb": {
    "r": 187,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 313.291,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54515,
    "c": 0.22063,
    "h": 339.6
  },
  "luminance": 0.13711
}

Semantic roles & 50–950 ramp

primary
#BB1D98
secondary
#66CE7D
accent
#F06138
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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