#B8316F#B8316F

#B8316F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.179 H 357.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B8316F
RGBrgb(184, 49, 111)
HSLhsl(332, 58%, 46%)
HSVhsv(332, 73%, 72%)
CMYKcmyk(0%, 73.4%, 39.7%, 27.8%)
CIE-LABlab(43.56, 58.13, -3.72)
CIE-LCHlch(43.56, 58.25, 356.34°)
OKLaboklab(53.7% 0.1784 -0.009)
OKLCHoklch(53.7% 0.179 357.1)
XYZxyz(23.7364, 13.5376, 16.3989)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8316F #31B87A
analogous
#B831B3 #B8316F #B83631
triadic
#B8316F #6FB831 #316FB8
tetradic
#B8316F #B3B831 #31B87A #3631B8
square
#B8316F #B3B831 #31B87A #3631B8
split-complementary
#B8316F #31B836 #31B3B8
monochromatic
#571735 #882452 #B8316F #D2558E #DE85AE

Accessibility & contrast

On white

5.66
#B8316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8316F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8316F#FFFFFF#000000##FFFFFF
##B8316F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5771
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#C7204C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8316f;
/* rgb */ color: rgb(184, 49, 111);
/* oklch */ color: oklch(53.7% 0.179 357.1);
Tailwind
colors: {
  custom: {
    50: '#d27598',
    500: '#b8316f',
    950: '#000000',
  },
}
SCSS
$custom: #b8316f;
$custom-light: #d27598;
$custom-dark: #000000;
JSON
{
  "hex": "#b8316f",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 332.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.17866,
    "h": 357.1
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#B8316F
secondary
#7DC8A5
accent
#E19A47
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B8316F

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

Preview Lab → · Contrast checker → · Palette generator →

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