#B31E1A#B31E1A

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

Color values

HEX#B31E1A
RGBrgb(179, 30, 26)
HSLhsl(2, 75%, 40%)
HSVhsv(2, 85%, 70%)
CMYKcmyk(0%, 83.2%, 85.5%, 29.8%)
CIE-LABlab(38.88, 57.04, 41.78)
CIE-LCHlch(38.88, 70.71, 36.22°)
OKLaboklab(49.52% 0.1622 0.087)
OKLCHoklch(49.52% 0.184 28.2)
XYZxyz(19.2436, 10.5900, 2.0079)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E1A #1AAFB3
analogous
#B31A62 #B31E1A #B36B1A
triadic
#B31E1A #1AB31E #1E1AB3
tetradic
#B31E1A #62B31A #1AAFB3 #6B1AB3
square
#B31E1A #62B31A #1AAFB3 #6B1AB3
split-complementary
#B31E1A #1AB36B #1A62B3
monochromatic
#480C0A #7E1512 #B31E1A #E02F2A #E86360

Accessibility & contrast

On white

6.74
#B31E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E1A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E1A#FFFFFF#000000##FFFFFF
##B31E1A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31e1a;
/* rgb */ color: rgb(179, 30, 26);
/* oklch */ color: oklch(49.5% 0.184 28.2);
Tailwind
colors: {
  custom: {
    50: '#d46b59',
    500: '#b31e1a',
    950: '#000000',
  },
}
SCSS
$custom: #b31e1a;
$custom-light: #d46b59;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e1a",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 1.569,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.18408,
    "h": 28.2
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#B31E1A
secondary
#5DC9CC
accent
#ECF137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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