#BB3172#BB3172

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

Color values

HEX#BB3172
RGBrgb(187, 49, 114)
HSLhsl(332, 58%, 46%)
HSVhsv(332, 74%, 73%)
CMYKcmyk(0%, 73.8%, 39%, 26.7%)
CIE-LABlab(44.20, 59.28, -4.56)
CIE-LCHlch(44.20, 59.45, 355.60°)
OKLaboklab(54.3% 0.182 -0.0112)
OKLCHoklch(54.3% 0.182 356.5)
XYZxyz(24.6308, 13.9794, 17.3176)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3172 #31BB7A
analogous
#BB31B7 #BB3172 #BB3531
triadic
#BB3172 #72BB31 #3172BB
tetradic
#BB3172 #B7BB31 #31BB7A #3531BB
square
#BB3172 #B7BB31 #31BB7A #3531BB
split-complementary
#BB3172 #31BB35 #31B7BB
monochromatic
#5A1837 #8B2454 #BB3172 #D35691 #E087B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB3172#FFFFFF#000000##FFFFFF
##BB31721.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)
#4D5874
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#CA204D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb3172;
/* rgb */ color: rgb(187, 49, 114);
/* oklch */ color: oklch(54.3% 0.182 356.5);
Tailwind
colors: {
  custom: {
    50: '#d4759a',
    500: '#bb3172',
    950: '#000000',
  },
}
SCSS
$custom: #bb3172;
$custom-light: #d4759a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3172",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 331.739,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.18232,
    "h": 356.5
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB3172

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

Preview Lab → · Contrast checker → · Palette generator →

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