#B8316B#B8316B

#B8316B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.177 H 359.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B8316B
RGBrgb(184, 49, 107)
HSLhsl(334, 58%, 46%)
HSVhsv(334, 73%, 72%)
CMYKcmyk(0%, 73.4%, 41.8%, 27.8%)
CIE-LABlab(43.44, 57.72, -1.42)
CIE-LCHlch(43.44, 57.74, 358.59°)
OKLaboklab(53.56% 0.1772 -0.003)
OKLCHoklch(53.56% 0.177 359)
XYZxyz(23.5210, 13.4515, 15.2649)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8316B #31B87E
analogous
#B831AE #B8316B #B83A31
triadic
#B8316B #6BB831 #316BB8
tetradic
#B8316B #AEB831 #31B87E #3A31B8
square
#B8316B #AEB831 #31B87E #3A31B8
split-complementary
#B8316B #31B83A #31AEB8
monochromatic
#571733 #88244F #B8316B #D2558A #DE85AB

Accessibility & contrast

On white

5.69
#B8316B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B8316B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8316B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8316B#FFFFFF#000000##FFFFFF
##B8316B1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566C
Deuteranopia (green-blind)
#727068
Tritanopia (blue-blind)
#C71E4A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8316b;
/* rgb */ color: rgb(184, 49, 107);
/* oklch */ color: oklch(53.6% 0.177 359.0);
Tailwind
colors: {
  custom: {
    50: '#d27595',
    500: '#b8316b',
    950: '#000000',
  },
}
SCSS
$custom: #b8316b;
$custom-light: #d27595;
$custom-dark: #000000;
JSON
{
  "hex": "#b8316b",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 334.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.17718,
    "h": 359
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8316B

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

Preview Lab → · Contrast checker → · Palette generator →

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