#BB1A98#BB1A98

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

Color values

HEX#BB1A98
RGBrgb(187, 26, 152)
HSLhsl(313, 76%, 42%)
HSVhsv(313, 86%, 73%)
CMYKcmyk(0%, 86.1%, 18.7%, 26.7%)
CIE-LABlab(43.61, 69.81, -28.68)
CIE-LCHlch(43.61, 75.47, 337.67°)
OKLaboklab(54.37% 0.2086 -0.0777)
OKLCHoklch(54.37% 0.223 339.6)
XYZxyz(26.5312, 13.5734, 30.9224)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1A98 #1ABB3D
analogous
#8D1ABB #BB1A98 #BB1A48
triadic
#BB1A98 #98BB1A #1A98BB
tetradic
#BB1A98 #BB8D1A #1ABB3D #1A48BB
square
#BB1A98 #BB8D1A #1ABB3D #1A48BB
split-complementary
#BB1A98 #48BB1A #1ABB8D
monochromatic
#500B41 #85136C #BB1A98 #E230BB #EA66CD

Accessibility & contrast

On white

5.65
#BB1A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BB1A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1A98
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1A98#FFFFFF#000000##FFFFFF
##BB1A981.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#C6235B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bb1a98;
/* rgb */ color: rgb(187, 26, 152);
/* oklch */ color: oklch(54.4% 0.223 339.6);
Tailwind
colors: {
  custom: {
    50: '#d46fb6',
    500: '#bb1a98',
    950: '#000000',
  },
}
SCSS
$custom: #bb1a98;
$custom-light: #d46fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1a98",
  "rgb": {
    "r": 187,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 313.043,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.22263,
    "h": 339.6
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#BB1A98
secondary
#62CF7A
accent
#F25F36
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB1A98

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

Preview Lab → · Contrast checker → · Palette generator →

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