#B8314F#B8314F

#B8314F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.171 H 12.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B8314F
RGBrgb(184, 49, 79)
HSLhsl(347, 58%, 46%)
HSVhsv(347, 73%, 72%)
CMYKcmyk(0%, 73.4%, 57.1%, 27.8%)
CIE-LABlab(42.69, 55.29, 14.98)
CIE-LCHlch(42.69, 57.29, 15.16°)
OKLaboklab(52.77% 0.1669 0.0374)
OKLCHoklch(52.77% 0.171 12.6)
XYZxyz(22.2789, 12.9546, 8.7230)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8314F #31B89A
analogous
#B83192 #B8314F #B85731
triadic
#B8314F #4FB831 #314FB8
tetradic
#B8314F #92B831 #31B89A #5731B8
square
#B8314F #92B831 #31B89A #5731B8
split-complementary
#B8314F #31B857 #3192B8
monochromatic
#571725 #88243A #B8314F #D25570 #DE8599

Accessibility & contrast

On white

5.85
#B8314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B8314F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8314F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8314F#FFFFFF#000000##FFFFFF
##B8314F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#C9083D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b8314f;
/* rgb */ color: rgb(184, 49, 79);
/* oklch */ color: oklch(52.8% 0.171 12.6);
Tailwind
colors: {
  custom: {
    50: '#d47480',
    500: '#b8314f',
    950: '#000000',
  },
}
SCSS
$custom: #b8314f;
$custom-light: #d47480;
$custom-dark: #000000;
JSON
{
  "hex": "#b8314f",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 346.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.17101,
    "h": 12.6
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#B8314F
secondary
#7DC8B7
accent
#E1BF47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B8314F

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

Preview Lab → · Contrast checker → · Palette generator →

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