#BB1D9A#BB1D9A

#BB1D9A is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.6% C 0.222 H 338.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BB1D9A
RGBrgb(187, 29, 154)
HSLhsl(313, 73%, 42%)
HSVhsv(313, 84%, 73%)
CMYKcmyk(0%, 84.5%, 17.6%, 26.7%)
CIE-LABlab(43.91, 69.48, -29.41)
CIE-LCHlch(43.91, 75.45, 337.05°)
OKLaboklab(54.62% 0.207 -0.0798)
OKLCHoklch(54.62% 0.222 338.9)
XYZxyz(26.7664, 13.7794, 31.8156)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1D9A #1DBB3E
analogous
#8D1DBB #BB1D9A #BB1D4B
triadic
#BB1D9A #9ABB1D #1D9ABB
tetradic
#BB1D9A #BB8D1D #1DBB3E #1D4BBB
square
#BB1D9A #BB8D1D #1DBB3E #1D4BBB
split-complementary
#BB1D9A #4BBB1D #1DBB8D
monochromatic
#510D43 #86156E #BB1D9A #E035BC #E86ACE

Accessibility & contrast

On white

5.59
#BB1D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BB1D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1D9A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1D9A#FFFFFF#000000##FFFFFF
##BB1D9A1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589D
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#C6275D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb1d9a;
/* rgb */ color: rgb(187, 29, 154);
/* oklch */ color: oklch(54.6% 0.222 338.9);
Tailwind
colors: {
  custom: {
    50: '#d470b8',
    500: '#bb1d9a',
    950: '#000000',
  },
}
SCSS
$custom: #bb1d9a;
$custom-light: #d470b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1d9a",
  "rgb": {
    "r": 187,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 312.532,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.22186,
    "h": 338.9
  },
  "luminance": 0.13777
}

Semantic roles & 50–950 ramp

primary
#BB1D9A
secondary
#66CE7C
accent
#F05E38
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB1D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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