#B31C1E#B31C1E

#B31C1E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 26.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B31C1E
RGBrgb(179, 28, 30)
HSLhsl(359, 73%, 41%)
HSVhsv(359, 84%, 70%)
CMYKcmyk(0%, 84.4%, 83.2%, 29.8%)
CIE-LABlab(38.74, 57.62, 39.56)
CIE-LCHlch(38.74, 69.89, 34.47°)
OKLaboklab(49.42% 0.1648 0.0837)
OKLCHoklch(49.42% 0.185 26.9)
XYZxyz(19.2424, 10.5111, 2.2437)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C1E #1CB3B1
analogous
#B31C6A #B31C1E #B3651C
triadic
#B31C1E #1EB31C #1C1EB3
tetradic
#B31C1E #6AB31C #1CB3B1 #651CB3
square
#B31C1E #6AB31C #1CB3B1 #651CB3
split-complementary
#B31C1E #1CB365 #1C6AB3
monochromatic
#490B0C #7E1415 #B31C1E #DE2E30 #E76365

Accessibility & contrast

On white

6.77
#B31C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B31C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C1E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C1E#FFFFFF#000000##FFFFFF
##B31C1E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461C
Deuteranopia (green-blind)
#736715
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31c1e;
/* rgb */ color: rgb(179, 28, 30);
/* oklch */ color: oklch(49.4% 0.185 26.9);
Tailwind
colors: {
  custom: {
    50: '#d46a5b',
    500: '#b31c1e',
    950: '#000000',
  },
}
SCSS
$custom: #b31c1e;
$custom-light: #d46a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c1e",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 30
  },
  "hsl": {
    "h": 359.205,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.18483,
    "h": 26.9
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#B31C1E
secondary
#5FCBCA
accent
#F0ED38
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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