#B9316C#B9316C

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

Color values

HEX#B9316C
RGBrgb(185, 49, 108)
HSLhsl(334, 58%, 46%)
HSVhsv(334, 74%, 73%)
CMYKcmyk(0%, 73.5%, 41.6%, 27.5%)
CIE-LABlab(43.65, 58.11, -1.71)
CIE-LCHlch(43.65, 58.13, 358.32°)
OKLaboklab(53.76% 0.1783 -0.0038)
OKLCHoklch(53.76% 0.178 358.8)
XYZxyz(23.8144, 13.5966, 15.5548)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9316C #31B97E
analogous
#B931B0 #B9316C #B93A31
triadic
#B9316C #6CB931 #316CB9
tetradic
#B9316C #B0B931 #31B97E #3A31B9
square
#B9316C #B0B931 #31B97E #3A31B9
split-complementary
#B9316C #31B93A #31B0B9
monochromatic
#581734 #892450 #B9316C #D2558B #DF86AC

Accessibility & contrast

On white

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

On black

3.72
#B9316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B9316C#FFFFFF#000000##FFFFFF
##B9316C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576D
Deuteranopia (green-blind)
#737169
Tritanopia (blue-blind)
#C81E4A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9316c;
/* rgb */ color: rgb(185, 49, 108);
/* oklch */ color: oklch(53.8% 0.178 358.8);
Tailwind
colors: {
  custom: {
    50: '#d37596',
    500: '#b9316c',
    950: '#000000',
  },
}
SCSS
$custom: #b9316c;
$custom-light: #d37596;
$custom-dark: #000000;
JSON
{
  "hex": "#b9316c",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 333.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.17838,
    "h": 358.8
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9316C

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

Preview Lab → · Contrast checker → · Palette generator →

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