#BB316C#BB316C

#BB316C is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.180 H 359.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BB316C
RGBrgb(187, 49, 108)
HSLhsl(334, 58%, 46%)
HSVhsv(334, 74%, 73%)
CMYKcmyk(0%, 73.8%, 42.2%, 26.7%)
CIE-LABlab(44.01, 58.67, -1.13)
CIE-LCHlch(44.01, 58.68, 358.89°)
OKLaboklab(54.1% 0.1801 -0.0023)
OKLCHoklch(54.1% 0.18 359.3)
XYZxyz(24.3004, 13.8472, 15.5776)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB316C #31BB80
analogous
#BB31B1 #BB316C #BB3B31
triadic
#BB316C #6CBB31 #316CBB
tetradic
#BB316C #B1BB31 #31BB80 #3B31BB
square
#BB316C #B1BB31 #31BB80 #3B31BB
split-complementary
#BB316C #31BB3B #31B1BB
monochromatic
#5A1834 #8B2450 #BB316C #D3568C #E087AD

Accessibility & contrast

On white

5.57
#BB316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BB316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB316C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB316C#FFFFFF#000000##FFFFFF
##BB316C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576D
Deuteranopia (green-blind)
#747269
Tritanopia (blue-blind)
#CB1C4A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb316c;
/* rgb */ color: rgb(187, 49, 108);
/* oklch */ color: oklch(54.1% 0.180 359.3);
Tailwind
colors: {
  custom: {
    50: '#d57596',
    500: '#bb316c',
    950: '#000000',
  },
}
SCSS
$custom: #bb316c;
$custom-light: #d57596;
$custom-dark: #000000;
JSON
{
  "hex": "#bb316c",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 334.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.18007,
    "h": 359.3
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#BB316C
secondary
#7FC9A9
accent
#E29F46
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB316C

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

Preview Lab → · Contrast checker → · Palette generator →

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