#B31E21#B31E21

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

Color values

HEX#B31E21
RGBrgb(179, 30, 33)
HSLhsl(359, 71%, 41%)
HSVhsv(359, 83%, 70%)
CMYKcmyk(0%, 83.2%, 81.6%, 29.8%)
CIE-LABlab(38.94, 57.23, 38.10)
CIE-LCHlch(38.94, 68.75, 33.65°)
OKLaboklab(49.58% 0.1642 0.0816)
OKLCHoklch(49.58% 0.183 26.4)
XYZxyz(19.3316, 10.6252, 2.4716)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E21 #1EB3B0
analogous
#B31E6B #B31E21 #B3651E
triadic
#B31E21 #21B31E #1E21B3
tetradic
#B31E21 #6BB31E #1EB3B0 #651EB3
square
#B31E21 #6BB31E #1EB3B0 #651EB3
split-complementary
#B31E21 #1EB365 #1E6BB3
monochromatic
#4A0C0E #7F1517 #B31E21 #DD3235 #E56669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E21#FFFFFF#000000##FFFFFF
##B31E211.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)
#4F471F
Deuteranopia (green-blind)
#746719
Tritanopia (blue-blind)
#C60022
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e21;
/* rgb */ color: rgb(179, 30, 33);
/* oklch */ color: oklch(49.6% 0.183 26.4);
Tailwind
colors: {
  custom: {
    50: '#d46b5d',
    500: '#b31e21',
    950: '#000000',
  },
}
SCSS
$custom: #b31e21;
$custom-light: #d46b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e21",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 33
  },
  "hsl": {
    "h": 358.792,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.18333,
    "h": 26.4
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31E21

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

Preview Lab → · Contrast checker → · Palette generator →

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