#BB316F#BB316F

#BB316F is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.181 H 357.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BB316F
RGBrgb(187, 49, 111)
HSLhsl(333, 58%, 46%)
HSVhsv(333, 74%, 73%)
CMYKcmyk(0%, 73.8%, 40.6%, 26.7%)
CIE-LABlab(44.11, 58.97, -2.85)
CIE-LCHlch(44.11, 59.04, 357.23°)
OKLaboklab(54.2% 0.181 -0.0067)
OKLCHoklch(54.2% 0.181 357.9)
XYZxyz(24.4628, 13.9122, 16.4330)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB316F #31BB7D
analogous
#BB31B4 #BB316F #BB3831
triadic
#BB316F #6FBB31 #316FBB
tetradic
#BB316F #B4BB31 #31BB7D #3831BB
square
#BB316F #B4BB31 #31BB7D #3831BB
split-complementary
#BB316F #31BB38 #31B4BB
monochromatic
#5A1835 #8B2452 #BB316F #D3568E #E087AF

Accessibility & contrast

On white

5.55
#BB316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BB316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB316F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB316F#FFFFFF#000000##FFFFFF
##BB316F1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#73726C
Tritanopia (blue-blind)
#CA1E4C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb316f;
/* rgb */ color: rgb(187, 49, 111);
/* oklch */ color: oklch(54.2% 0.181 357.9);
Tailwind
colors: {
  custom: {
    50: '#d57598',
    500: '#bb316f',
    950: '#000000',
  },
}
SCSS
$custom: #bb316f;
$custom-light: #d57598;
$custom-dark: #000000;
JSON
{
  "hex": "#bb316f",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 333.043,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.18116,
    "h": 357.9
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#BB316F
secondary
#7FC9A8
accent
#E29C46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB316F

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

Preview Lab → · Contrast checker → · Palette generator →

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