#B31E1F#B31E1F

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

Color values

HEX#B31E1F
RGBrgb(179, 30, 31)
HSLhsl(360, 71%, 41%)
HSVhsv(360, 83%, 70%)
CMYKcmyk(0%, 83.2%, 82.7%, 29.8%)
CIE-LABlab(38.92, 57.17, 39.18)
CIE-LCHlch(38.92, 69.31, 34.43°)
OKLaboklab(49.56% 0.1636 0.0832)
OKLCHoklch(49.56% 0.184 27)
XYZxyz(19.3044, 10.6144, 2.3284)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E1F #1EB3B2
analogous
#B31E69 #B31E1F #B3671E
triadic
#B31E1F #1FB31E #1E1FB3
tetradic
#B31E1F #69B31E #1EB3B2 #671EB3
square
#B31E1F #69B31E #1EB3B2 #671EB3
split-complementary
#B31E1F #1EB367 #1E69B3
monochromatic
#4A0C0D #7F1516 #B31E1F #DD3233 #E56667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E1F#FFFFFF#000000##FFFFFF
##B31E1F1.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)
#50471D
Deuteranopia (green-blind)
#746717
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e1f;
/* rgb */ color: rgb(179, 30, 31);
/* oklch */ color: oklch(49.6% 0.184 27.0);
Tailwind
colors: {
  custom: {
    50: '#d46b5c',
    500: '#b31e1f',
    950: '#000000',
  },
}
SCSS
$custom: #b31e1f;
$custom-light: #d46b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e1f",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.597,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.18354,
    "h": 27
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#B31E1F
secondary
#62CBCA
accent
#EEED3A
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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