#B31C1C#B31C1C

#B31C1C is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 27.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B31C1C
RGBrgb(179, 28, 28)
HSLhsl(0, 73%, 41%)
HSVhsv(0, 84%, 70%)
CMYKcmyk(0%, 84.4%, 84.4%, 29.8%)
CIE-LABlab(38.73, 57.57, 40.61)
CIE-LCHlch(38.73, 70.45, 35.20°)
OKLaboklab(49.41% 0.1643 0.0852)
OKLCHoklch(49.41% 0.185 27.4)
XYZxyz(19.2177, 10.5013, 2.1135)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C1C #1CB3B3
analogous
#B31C67 #B31C1C #B3671C
triadic
#B31C1C #1CB31C #1C1CB3
tetradic
#B31C1C #67B31C #1CB3B3 #671CB3
square
#B31C1C #67B31C #1CB3B3 #671CB3
split-complementary
#B31C1C #1CB367 #1C67B3
monochromatic
#490B0B #7E1414 #B31C1C #DE2E2E #E76363

Accessibility & contrast

On white

6.78
#B31C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B31C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C1C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C1C#FFFFFF#000000##FFFFFF
##B31C1C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4619
Deuteranopia (green-blind)
#736713
Tritanopia (blue-blind)
#C6001F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31c1c;
/* rgb */ color: rgb(179, 28, 28);
/* oklch */ color: oklch(49.4% 0.185 27.4);
Tailwind
colors: {
  custom: {
    50: '#d46a5a',
    500: '#b31c1c',
    950: '#000000',
  },
}
SCSS
$custom: #b31c1c;
$custom-light: #d46a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c1c",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 28
  },
  "hsl": {
    "h": 0,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.18504,
    "h": 27.4
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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