#B9316B#B9316B

#B9316B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.178 H 359.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B9316B
RGBrgb(185, 49, 107)
HSLhsl(334, 58%, 46%)
HSVhsv(334, 74%, 73%)
CMYKcmyk(0%, 73.5%, 42.2%, 27.5%)
CIE-LABlab(43.62, 58.01, -1.13)
CIE-LCHlch(43.62, 58.02, 358.88°)
OKLaboklab(53.73% 0.178 -0.0023)
OKLCHoklch(53.73% 0.178 359.3)
XYZxyz(23.7615, 13.5755, 15.2761)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9316B #31B97F
analogous
#B931AF #B9316B #B93B31
triadic
#B9316B #6BB931 #316BB9
tetradic
#B9316B #AFB931 #31B97F #3B31B9
square
#B9316B #AFB931 #31B97F #3B31B9
split-complementary
#B9316B #31B93B #31AFB9
monochromatic
#581733 #89244F #B9316B #D2558A #DF86AC

Accessibility & contrast

On white

5.65
#B9316B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B9316B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9316B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9316B#FFFFFF#000000##FFFFFF
##B9316B1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576C
Deuteranopia (green-blind)
#737068
Tritanopia (blue-blind)
#C81D4A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9316b;
/* rgb */ color: rgb(185, 49, 107);
/* oklch */ color: oklch(53.7% 0.178 359.3);
Tailwind
colors: {
  custom: {
    50: '#d37595',
    500: '#b9316b',
    950: '#000000',
  },
}
SCSS
$custom: #b9316b;
$custom-light: #d37595;
$custom-dark: #000000;
JSON
{
  "hex": "#b9316b",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 334.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.17802,
    "h": 359.3
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#B9316B
secondary
#7DC8A8
accent
#E19F46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B9316B

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

Preview Lab → · Contrast checker → · Palette generator →

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