#BB316A#BB316A

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

Color values

HEX#BB316A
RGBrgb(187, 49, 106)
HSLhsl(335, 58%, 46%)
HSVhsv(335, 74%, 73%)
CMYKcmyk(0%, 73.8%, 43.3%, 26.7%)
CIE-LABlab(43.95, 58.47, 0.02)
CIE-LCHlch(43.95, 58.47, 0.02°)
OKLaboklab(54.03% 0.1794 0.0007)
OKLCHoklch(54.03% 0.179 0.2)
XYZxyz(24.1952, 13.8051, 15.0234)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB316A #31BB82
analogous
#BB31AF #BB316A #BB3D31
triadic
#BB316A #6ABB31 #316ABB
tetradic
#BB316A #AFBB31 #31BB82 #3D31BB
square
#BB316A #AFBB31 #31BB82 #3D31BB
split-complementary
#BB316A #31BB3D #31AFBB
monochromatic
#5A1833 #8B244F #BB316A #D3568A #E087AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB316A#FFFFFF#000000##FFFFFF
##BB316A1.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)
#4F576B
Deuteranopia (green-blind)
#747167
Tritanopia (blue-blind)
#CB1B49
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb316a;
/* rgb */ color: rgb(187, 49, 106);
/* oklch */ color: oklch(54.0% 0.179 0.2);
Tailwind
colors: {
  custom: {
    50: '#d57594',
    500: '#bb316a',
    950: '#000000',
  },
}
SCSS
$custom: #bb316a;
$custom-light: #d57594;
$custom-dark: #000000;
JSON
{
  "hex": "#bb316a",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 335.217,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.1794,
    "h": 0.2
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB316A

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

Preview Lab → · Contrast checker → · Palette generator →

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