#B8316A#B8316A

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

Color values

HEX#B8316A
RGBrgb(184, 49, 106)
HSLhsl(335, 58%, 46%)
HSVhsv(335, 73%, 72%)
CMYKcmyk(0%, 73.4%, 42.4%, 27.8%)
CIE-LABlab(43.41, 57.62, -0.85)
CIE-LCHlch(43.41, 57.63, 359.16°)
OKLaboklab(53.53% 0.1768 -0.0015)
OKLCHoklch(53.53% 0.177 359.5)
XYZxyz(23.4687, 13.4306, 14.9894)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8316A #31B87F
analogous
#B831AD #B8316A #B83C31
triadic
#B8316A #6AB831 #316AB8
tetradic
#B8316A #ADB831 #31B87F #3C31B8
square
#B8316A #ADB831 #31B87F #3C31B8
split-complementary
#B8316A #31B83C #31ADB8
monochromatic
#571732 #88244E #B8316A #D25589 #DE85AB

Accessibility & contrast

On white

5.70
#B8316A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8316A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8316A#FFFFFF#000000##FFFFFF
##B8316A1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#727067
Tritanopia (blue-blind)
#C71D49
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b8316a;
/* rgb */ color: rgb(184, 49, 106);
/* oklch */ color: oklch(53.5% 0.177 359.5);
Tailwind
colors: {
  custom: {
    50: '#d27594',
    500: '#b8316a',
    950: '#000000',
  },
}
SCSS
$custom: #b8316a;
$custom-light: #d27594;
$custom-dark: #000000;
JSON
{
  "hex": "#b8316a",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 334.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.17683,
    "h": 359.5
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8316A

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

Preview Lab → · Contrast checker → · Palette generator →

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