#B31E1C#B31E1C

#B31E1C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 27.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B31E1C
RGBrgb(179, 30, 28)
HSLhsl(1, 73%, 41%)
HSVhsv(1, 84%, 70%)
CMYKcmyk(0%, 83.2%, 84.4%, 29.8%)
CIE-LABlab(38.90, 57.09, 40.76)
CIE-LCHlch(38.90, 70.15, 35.53°)
OKLaboklab(49.53% 0.1628 0.0855)
OKLCHoklch(49.53% 0.184 27.7)
XYZxyz(19.2667, 10.5993, 2.1298)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E1C #1CB1B3
analogous
#B31C65 #B31E1C #B36A1C
triadic
#B31E1C #1CB31E #1E1CB3
tetradic
#B31E1C #65B31C #1CB1B3 #6A1CB3
square
#B31E1C #65B31C #1CB1B3 #6A1CB3
split-complementary
#B31E1C #1CB36A #1C65B3
monochromatic
#490C0B #7E1514 #B31E1C #DE302E #E76563

Accessibility & contrast

On white

6.73
#B31E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E1C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E1C#FFFFFF#000000##FFFFFF
##B31E1C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504719
Deuteranopia (green-blind)
#746713
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e1c;
/* rgb */ color: rgb(179, 30, 28);
/* oklch */ color: oklch(49.5% 0.184 27.7);
Tailwind
colors: {
  custom: {
    50: '#d46b5a',
    500: '#b31e1c',
    950: '#000000',
  },
}
SCSS
$custom: #b31e1c;
$custom-light: #d46b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e1c",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 28
  },
  "hsl": {
    "h": 0.795,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.18386,
    "h": 27.7
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#B31E1C
secondary
#5FCACB
accent
#EDF038
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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