#BB316B#BB316B

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

Color values

HEX#BB316B
RGBrgb(187, 49, 107)
HSLhsl(335, 58%, 46%)
HSVhsv(335, 74%, 73%)
CMYKcmyk(0%, 73.8%, 42.8%, 26.7%)
CIE-LABlab(43.98, 58.57, -0.56)
CIE-LCHlch(43.98, 58.57, 359.45°)
OKLaboklab(54.06% 0.1797 -0.0008)
OKLCHoklch(54.06% 0.18 359.8)
XYZxyz(24.2475, 13.8261, 15.2989)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB316B #31BB81
analogous
#BB31B0 #BB316B #BB3C31
triadic
#BB316B #6BBB31 #316BBB
tetradic
#BB316B #B0BB31 #31BB81 #3C31BB
square
#BB316B #B0BB31 #31BB81 #3C31BB
split-complementary
#BB316B #31BB3C #31B0BB
monochromatic
#5A1834 #8B244F #BB316B #D3568B #E087AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB316B#FFFFFF#000000##FFFFFF
##BB316B1.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)
#4F576C
Deuteranopia (green-blind)
#747268
Tritanopia (blue-blind)
#CB1C4A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb316b;
/* rgb */ color: rgb(187, 49, 107);
/* oklch */ color: oklch(54.1% 0.180 359.8);
Tailwind
colors: {
  custom: {
    50: '#d57595',
    500: '#bb316b',
    950: '#000000',
  },
}
SCSS
$custom: #bb316b;
$custom-light: #d57595;
$custom-dark: #000000;
JSON
{
  "hex": "#bb316b",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 334.783,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54063,
    "c": 0.17973,
    "h": 359.8
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#BB316B
secondary
#7FC9AA
accent
#E2A046
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB316B

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

Preview Lab → · Contrast checker → · Palette generator →

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