#B31C18#B31C18

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

Color values

HEX#B31C18
RGBrgb(179, 28, 24)
HSLhsl(2, 76%, 40%)
HSVhsv(2, 87%, 70%)
CMYKcmyk(0%, 84.4%, 86.6%, 29.8%)
CIE-LABlab(38.70, 57.48, 42.63)
CIE-LCHlch(38.70, 71.56, 36.56°)
OKLaboklab(49.37% 0.1633 0.088)
OKLCHoklch(49.37% 0.185 28.3)
XYZxyz(19.1730, 10.4834, 1.8780)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C18 #18AFB3
analogous
#B31862 #B31C18 #B36918
triadic
#B31C18 #18B31C #1C18B3
tetradic
#B31C18 #62B318 #18AFB3 #6918B3
square
#B31C18 #62B318 #18AFB3 #6918B3
split-complementary
#B31C18 #18B369 #1862B3
monochromatic
#470B0A #7D1411 #B31C18 #E22B26 #E9605C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31C18#FFFFFF#000000##FFFFFF
##B31C181.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)
#4F4615
Deuteranopia (green-blind)
#74670D
Tritanopia (blue-blind)
#C6001E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31c18;
/* rgb */ color: rgb(179, 28, 24);
/* oklch */ color: oklch(49.4% 0.185 28.3);
Tailwind
colors: {
  custom: {
    50: '#d46a57',
    500: '#b31c18',
    950: '#000000',
  },
}
SCSS
$custom: #b31c18;
$custom-light: #d46a57;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c18",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 1.548,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.18545,
    "h": 28.3
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#B31C18
secondary
#5ACACD
accent
#EEF335
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31C18

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

Preview Lab → · Contrast checker → · Palette generator →

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