#BB3173#BB3173

#BB3173 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.183 H 356.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BB3173
RGBrgb(187, 49, 115)
HSLhsl(331, 58%, 46%)
HSVhsv(331, 74%, 73%)
CMYKcmyk(0%, 73.8%, 38.5%, 26.7%)
CIE-LABlab(44.24, 59.38, -5.13)
CIE-LCHlch(44.24, 59.60, 355.06°)
OKLaboklab(54.33% 0.1823 -0.0128)
OKLCHoklch(54.33% 0.183 356)
XYZxyz(24.6880, 14.0023, 17.6190)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3173 #31BB79
analogous
#BB31B8 #BB3173 #BB3431
triadic
#BB3173 #73BB31 #3173BB
tetradic
#BB3173 #B8BB31 #31BB79 #3431BB
square
#BB3173 #B8BB31 #31BB79 #3431BB
split-complementary
#BB3173 #31BB34 #31B8BB
monochromatic
#5A1837 #8B2455 #BB3173 #D35692 #E087B1

Accessibility & contrast

On white

5.53
#BB3173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BB3173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3173
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3173#FFFFFF#000000##FFFFFF
##BB31731.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5875
Deuteranopia (green-blind)
#737270
Tritanopia (blue-blind)
#CA214E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb3173;
/* rgb */ color: rgb(187, 49, 115);
/* oklch */ color: oklch(54.3% 0.183 356.0);
Tailwind
colors: {
  custom: {
    50: '#d4759b',
    500: '#bb3173',
    950: '#000000',
  },
}
SCSS
$custom: #bb3173;
$custom-light: #d4759b;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3173",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 331.304,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54333,
    "c": 0.18272,
    "h": 356
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

primary
#BB3173
secondary
#7FC9A6
accent
#E29746
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB3173

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

Preview Lab → · Contrast checker → · Palette generator →

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