#B31A1C#B31A1C

#B31A1C is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.3% C 0.186 H 27.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B31A1C
RGBrgb(179, 26, 28)
HSLhsl(359, 75%, 40%)
HSVhsv(359, 85%, 70%)
CMYKcmyk(0%, 85.5%, 84.4%, 29.8%)
CIE-LABlab(38.57, 58.03, 40.46)
CIE-LCHlch(38.57, 70.74, 34.89°)
OKLaboklab(49.29% 0.1657 0.0848)
OKLCHoklch(49.29% 0.186 27.1)
XYZxyz(19.1718, 10.4095, 2.0982)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A1C #1AB3B1
analogous
#B31A68 #B31A1C #B3651A
triadic
#B31A1C #1CB31A #1A1CB3
tetradic
#B31A1C #68B31A #1AB3B1 #651AB3
square
#B31A1C #68B31A #1AB3B1 #651AB3
split-complementary
#B31A1C #1AB365 #1A68B3
monochromatic
#480A0B #7E1214 #B31A1C #E02A2C #E86061

Accessibility & contrast

On white

6.82
#B31A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#B31A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A1C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A1C#FFFFFF#000000##FFFFFF
##B31A1C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4619
Deuteranopia (green-blind)
#736613
Tritanopia (blue-blind)
#C6001E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31a1c;
/* rgb */ color: rgb(179, 26, 28);
/* oklch */ color: oklch(49.3% 0.186 27.1);
Tailwind
colors: {
  custom: {
    50: '#d4695a',
    500: '#b31a1c',
    950: '#000000',
  },
}
SCSS
$custom: #b31a1c;
$custom-light: #d4695a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a1c",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 359.216,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.18616,
    "h": 27.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#B31A1C
secondary
#5DCCCB
accent
#F1EF37
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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