#B31E18#B31E18

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

Color values

HEX#B31E18
RGBrgb(179, 30, 24)
HSLhsl(2, 76%, 40%)
HSVhsv(2, 87%, 70%)
CMYKcmyk(0%, 83.2%, 86.6%, 29.8%)
CIE-LABlab(38.87, 57.00, 42.77)
CIE-LCHlch(38.87, 71.26, 36.89°)
OKLaboklab(49.5% 0.1617 0.0883)
OKLCHoklch(49.5% 0.184 28.6)
XYZxyz(19.2220, 10.5814, 1.8943)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E18 #18ADB3
analogous
#B3185F #B31E18 #B36C18
triadic
#B31E18 #18B31E #1E18B3
tetradic
#B31E18 #5FB318 #18ADB3 #6C18B3
square
#B31E18 #5FB318 #18ADB3 #6C18B3
split-complementary
#B31E18 #18B36C #185FB3
monochromatic
#470C0A #7D1511 #B31E18 #E22E26 #E9625C

Accessibility & contrast

On white

6.74
#B31E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#B31E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E18
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E18#FFFFFF#000000##FFFFFF
##B31E181.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31e18;
/* rgb */ color: rgb(179, 30, 24);
/* oklch */ color: oklch(49.5% 0.184 28.6);
Tailwind
colors: {
  custom: {
    50: '#d46b57',
    500: '#b31e18',
    950: '#000000',
  },
}
SCSS
$custom: #b31e18;
$custom-light: #d46b57;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e18",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 2.323,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.18428,
    "h": 28.6
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#B31E18
secondary
#5AC8CD
accent
#ECF335
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31E18

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

Preview Lab → · Contrast checker → · Palette generator →

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