#B31F1E#B31F1E

#B31F1E is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.183 H 27.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B31F1E
RGBrgb(179, 31, 30)
HSLhsl(0, 71%, 41%)
HSVhsv(0, 83%, 70%)
CMYKcmyk(0%, 82.7%, 83.2%, 29.8%)
CIE-LABlab(39.00, 56.89, 39.80)
CIE-LCHlch(39.00, 69.43, 34.98°)
OKLaboklab(49.62% 0.1625 0.0842)
OKLCHoklch(49.62% 0.183 27.4)
XYZxyz(19.3172, 10.6606, 2.2686)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F1E #1EB2B3
analogous
#B31E67 #B31F1E #B3691E
triadic
#B31F1E #1EB31F #1F1EB3
tetradic
#B31F1E #67B31E #1EB2B3 #691EB3
square
#B31F1E #67B31E #1EB2B3 #691EB3
split-complementary
#B31F1E #1EB369 #1E67B3
monochromatic
#4A0D0C #7F1615 #B31F1E #DD3332 #E56766

Accessibility & contrast

On white

6.71
#B31F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B31F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F1E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F1E#FFFFFF#000000##FFFFFF
##B31F1E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471B
Deuteranopia (green-blind)
#746716
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31f1e;
/* rgb */ color: rgb(179, 31, 30);
/* oklch */ color: oklch(49.6% 0.183 27.4);
Tailwind
colors: {
  custom: {
    50: '#d46b5b',
    500: '#b31f1e',
    950: '#000000',
  },
}
SCSS
$custom: #b31f1e;
$custom-light: #d46b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f1e",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.403,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.18302,
    "h": 27.4
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#B31F1E
secondary
#62CACB
accent
#EDEE3A
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B31F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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