#B31D18#B31D18

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

Color values

HEX#B31D18
RGBrgb(179, 29, 24)
HSLhsl(2, 76%, 40%)
HSVhsv(2, 87%, 70%)
CMYKcmyk(0%, 83.8%, 86.6%, 29.8%)
CIE-LABlab(38.78, 57.24, 42.70)
CIE-LCHlch(38.78, 71.41, 36.72°)
OKLaboklab(49.44% 0.1625 0.0881)
OKLCHoklch(49.44% 0.185 28.5)
XYZxyz(19.1971, 10.5316, 1.8860)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D18 #18AEB3
analogous
#B31861 #B31D18 #B36A18
triadic
#B31D18 #18B31D #1D18B3
tetradic
#B31D18 #61B318 #18AEB3 #6A18B3
square
#B31D18 #61B318 #18AEB3 #6A18B3
split-complementary
#B31D18 #18B36A #1861B3
monochromatic
#470C0A #7D1411 #B31D18 #E22C26 #E9615C

Accessibility & contrast

On white

6.76
#B31D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31D18
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D18#FFFFFF#000000##FFFFFF
##B31D181.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504715
Deuteranopia (green-blind)
#74670D
Tritanopia (blue-blind)
#C6001F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31d18;
/* rgb */ color: rgb(179, 29, 24);
/* oklch */ color: oklch(49.4% 0.185 28.5);
Tailwind
colors: {
  custom: {
    50: '#d46a57',
    500: '#b31d18',
    950: '#000000',
  },
}
SCSS
$custom: #b31d18;
$custom-light: #d46a57;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d18",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 1.935,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49435,
    "c": 0.18487,
    "h": 28.5
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#B31D18
secondary
#5AC9CD
accent
#EDF335
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31D18

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

Preview Lab → · Contrast checker → · Palette generator →

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