#B31E1E#B31E1E

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

Color values

HEX#B31E1E
RGBrgb(179, 30, 30)
HSLhsl(0, 71%, 41%)
HSVhsv(0, 83%, 70%)
CMYKcmyk(0%, 83.2%, 83.2%, 29.8%)
CIE-LABlab(38.91, 57.14, 39.71)
CIE-LCHlch(38.91, 69.59, 34.80°)
OKLaboklab(49.55% 0.1633 0.084)
OKLCHoklch(49.55% 0.184 27.2)
XYZxyz(19.2915, 10.6092, 2.2601)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E1E #1EB3B3
analogous
#B31E68 #B31E1E #B3681E
triadic
#B31E1E #1EB31E #1E1EB3
tetradic
#B31E1E #68B31E #1EB3B3 #681EB3
square
#B31E1E #68B31E #1EB3B3 #681EB3
split-complementary
#B31E1E #1EB368 #1E68B3
monochromatic
#4A0C0C #7F1515 #B31E1E #DD3232 #E56666

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E1E#FFFFFF#000000##FFFFFF
##B31E1E1.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)
#50471C
Deuteranopia (green-blind)
#746716
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e1e;
/* rgb */ color: rgb(179, 30, 30);
/* oklch */ color: oklch(49.5% 0.184 27.2);
Tailwind
colors: {
  custom: {
    50: '#d46b5b',
    500: '#b31e1e',
    950: '#000000',
  },
}
SCSS
$custom: #b31e1e;
$custom-light: #d46b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e1e",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 30
  },
  "hsl": {
    "h": 0,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.18364,
    "h": 27.2
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#B31E1E
secondary
#62CBCB
accent
#EEEE3A
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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