#B8314A#B8314A

#B8314A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.171 H 15.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B8314A
RGBrgb(184, 49, 74)
HSLhsl(349, 58%, 46%)
HSVhsv(349, 73%, 72%)
CMYKcmyk(0%, 73.4%, 59.8%, 27.8%)
CIE-LABlab(42.59, 54.94, 17.95)
CIE-LCHlch(42.59, 57.80, 18.09°)
OKLaboklab(52.66% 0.1649 0.0441)
OKLCHoklch(52.66% 0.171 15)
XYZxyz(22.1037, 12.8846, 7.8003)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8314A #31B89F
analogous
#B8318D #B8314A #B85B31
triadic
#B8314A #4AB831 #314AB8
tetradic
#B8314A #8DB831 #31B89F #5B31B8
square
#B8314A #8DB831 #31B89F #5B31B8
split-complementary
#B8314A #31B85B #318DB8
monochromatic
#571723 #882437 #B8314A #D2556C #DE8595

Accessibility & contrast

On white

5.87
#B8314A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B8314A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8314A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8314A#FFFFFF#000000##FFFFFF
##B8314A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534A
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#C9043B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b8314a;
/* rgb */ color: rgb(184, 49, 74);
/* oklch */ color: oklch(52.7% 0.171 15.0);
Tailwind
colors: {
  custom: {
    50: '#d4747c',
    500: '#b8314a',
    950: '#000000',
  },
}
SCSS
$custom: #b8314a;
$custom-light: #d4747c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8314a",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 348.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.1707,
    "h": 15
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#B8314A
secondary
#7DC8BA
accent
#E1C547
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B8314A

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

Preview Lab → · Contrast checker → · Palette generator →

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