#B31E22#B31E22

#B31E22 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.6% C 0.183 H 26.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B31E22
RGBrgb(179, 30, 34)
HSLhsl(358, 71%, 41%)
HSVhsv(358, 83%, 70%)
CMYKcmyk(0%, 83.2%, 81%, 29.8%)
CIE-LABlab(38.95, 57.26, 37.55)
CIE-LCHlch(38.95, 68.47, 33.26°)
OKLaboklab(49.59% 0.1645 0.0807)
OKLCHoklch(49.59% 0.183 26.1)
XYZxyz(19.3458, 10.6309, 2.5464)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E22 #1EB3AF
analogous
#B31E6C #B31E22 #B3641E
triadic
#B31E22 #22B31E #1E22B3
tetradic
#B31E22 #6CB31E #1EB3AF #641EB3
square
#B31E22 #6CB31E #1EB3AF #641EB3
split-complementary
#B31E22 #1EB364 #1E6CB3
monochromatic
#4A0C0E #7F1518 #B31E22 #DD3236 #E56669

Accessibility & contrast

On white

6.72
#B31E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B31E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E22
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E22#FFFFFF#000000##FFFFFF
##B31E221.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4720
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#C60022
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e22;
/* rgb */ color: rgb(179, 30, 34);
/* oklch */ color: oklch(49.6% 0.183 26.1);
Tailwind
colors: {
  custom: {
    50: '#d46b5e',
    500: '#b31e22',
    950: '#000000',
  },
}
SCSS
$custom: #b31e22;
$custom-light: #d46b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e22",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 358.389,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.18322,
    "h": 26.1
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#B31E22
secondary
#62CBC8
accent
#EEE93A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B31E22

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

Preview Lab → · Contrast checker → · Palette generator →

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