#B31D1C#B31D1C

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

Color values

HEX#B31D1C
RGBrgb(179, 29, 28)
HSLhsl(0, 73%, 41%)
HSVhsv(0, 84%, 70%)
CMYKcmyk(0%, 83.8%, 84.4%, 29.8%)
CIE-LABlab(38.81, 57.33, 40.68)
CIE-LCHlch(38.81, 70.30, 35.36°)
OKLaboklab(49.47% 0.1635 0.0853)
OKLCHoklch(49.47% 0.184 27.6)
XYZxyz(19.2418, 10.5495, 2.1215)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D1C #1CB2B3
analogous
#B31C67 #B31D1C #B3681C
triadic
#B31D1C #1CB31D #1D1CB3
tetradic
#B31D1C #67B31C #1CB2B3 #681CB3
square
#B31D1C #67B31C #1CB2B3 #681CB3
split-complementary
#B31D1C #1CB368 #1C67B3
monochromatic
#490C0B #7E1414 #B31D1C #DE2F2E #E76463

Accessibility & contrast

On white

6.75
#B31D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B31D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D1C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D1C#FFFFFF#000000##FFFFFF
##B31D1C1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504719
Deuteranopia (green-blind)
#746713
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31d1c;
/* rgb */ color: rgb(179, 29, 28);
/* oklch */ color: oklch(49.5% 0.184 27.6);
Tailwind
colors: {
  custom: {
    50: '#d46a5a',
    500: '#b31d1c',
    950: '#000000',
  },
}
SCSS
$custom: #b31d1c;
$custom-light: #d46a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d1c",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 28
  },
  "hsl": {
    "h": 0.397,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.18446,
    "h": 27.6
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#B31D1C
secondary
#5FCBCB
accent
#EEF038
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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