#BB1F98#BB1F98

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

Color values

HEX#BB1F98
RGBrgb(187, 31, 152)
HSLhsl(313, 72%, 43%)
HSVhsv(313, 83%, 73%)
CMYKcmyk(0%, 83.4%, 18.7%, 26.7%)
CIE-LABlab(43.97, 68.79, -28.13)
CIE-LCHlch(43.97, 74.32, 337.76°)
OKLaboklab(54.62% 0.2055 -0.0762)
OKLCHoklch(54.62% 0.219 339.7)
XYZxyz(26.6518, 13.8145, 30.9626)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1F98 #1FBB42
analogous
#901FBB #BB1F98 #BB1F4A
triadic
#BB1F98 #98BB1F #1F98BB
tetradic
#BB1F98 #BB901F #1FBB42 #1F4ABB
square
#BB1F98 #BB901F #1FBB42 #1F4ABB
split-complementary
#BB1F98 #4ABB1F #1FBB90
monochromatic
#520E43 #87166D #BB1F98 #DE39B9 #E76ECC

Accessibility & contrast

On white

5.58
#BB1F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB1F98
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1F98#FFFFFF#000000##FFFFFF
##BB1F981.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb1f98;
/* rgb */ color: rgb(187, 31, 152);
/* oklch */ color: oklch(54.6% 0.219 339.7);
Tailwind
colors: {
  custom: {
    50: '#d470b6',
    500: '#bb1f98',
    950: '#000000',
  },
}
SCSS
$custom: #bb1f98;
$custom-light: #d470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1f98",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 313.462,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.21918,
    "h": 339.7
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#BB1F98
secondary
#69CD7F
accent
#EE623A
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB1F98

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

Preview Lab → · Contrast checker → · Palette generator →

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