#B8313F#B8313F

#B8313F is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 19.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B8313F
RGBrgb(184, 49, 63)
HSLhsl(354, 58%, 46%)
HSVhsv(354, 73%, 72%)
CMYKcmyk(0%, 73.4%, 65.8%, 27.8%)
CIE-LABlab(42.38, 54.25, 24.48)
CIE-LCHlch(42.38, 59.52, 24.29°)
OKLaboklab(52.44% 0.1606 0.0581)
OKLCHoklch(52.44% 0.171 19.9)
XYZxyz(21.7650, 12.7491, 6.0164)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8313F #31B8AA
analogous
#B83182 #B8313F #B86631
triadic
#B8313F #3FB831 #313FB8
tetradic
#B8313F #82B831 #31B8AA #6631B8
square
#B8313F #82B831 #31B8AA #6631B8
split-complementary
#B8313F #31B866 #3182B8
monochromatic
#57171E #88242E #B8313F #D25562 #DE858E

Accessibility & contrast

On white

5.92
#B8313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B8313F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8313F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8313F#FFFFFF#000000##FFFFFF
##B8313F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#796E3B
Tritanopia (blue-blind)
#CA0037
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8313f;
/* rgb */ color: rgb(184, 49, 63);
/* oklch */ color: oklch(52.4% 0.171 19.9);
Tailwind
colors: {
  custom: {
    50: '#d57474',
    500: '#b8313f',
    950: '#000000',
  },
}
SCSS
$custom: #b8313f;
$custom-light: #d57474;
$custom-dark: #000000;
JSON
{
  "hex": "#b8313f",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.17077,
    "h": 19.9
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#B8313F
secondary
#7DC8C0
accent
#E1D147
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #B8313F

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

Preview Lab → · Contrast checker → · Palette generator →

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