#B31E20#B31E20

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

Color values

HEX#B31E20
RGBrgb(179, 30, 32)
HSLhsl(359, 71%, 41%)
HSVhsv(359, 83%, 70%)
CMYKcmyk(0%, 83.2%, 82.1%, 29.8%)
CIE-LABlab(38.93, 57.20, 38.64)
CIE-LCHlch(38.93, 69.03, 34.04°)
OKLaboklab(49.57% 0.1639 0.0824)
OKLCHoklch(49.57% 0.183 26.7)
XYZxyz(19.3178, 10.6197, 2.3989)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E20 #1EB3B1
analogous
#B31E6A #B31E20 #B3661E
triadic
#B31E20 #20B31E #1E20B3
tetradic
#B31E20 #6AB31E #1EB3B1 #661EB3
square
#B31E20 #6AB31E #1EB3B1 #661EB3
split-complementary
#B31E20 #1EB366 #1E6AB3
monochromatic
#4A0C0D #7F1517 #B31E20 #DD3234 #E56668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E20#FFFFFF#000000##FFFFFF
##B31E201.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471E
Deuteranopia (green-blind)
#746718
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e20;
/* rgb */ color: rgb(179, 30, 32);
/* oklch */ color: oklch(49.6% 0.183 26.7);
Tailwind
colors: {
  custom: {
    50: '#d46b5d',
    500: '#b31e20',
    950: '#000000',
  },
}
SCSS
$custom: #b31e20;
$custom-light: #d46b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e20",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 32
  },
  "hsl": {
    "h": 359.195,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.18343,
    "h": 26.7
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#B31E20
secondary
#62CBC9
accent
#EEEC3A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31E20

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

Preview Lab → · Contrast checker → · Palette generator →

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