#B31E2E#B31E2E

#B31E2E is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.182 H 22.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B31E2E
RGBrgb(179, 30, 46)
HSLhsl(354, 71%, 41%)
HSVhsv(354, 83%, 70%)
CMYKcmyk(0%, 83.2%, 74.3%, 29.8%)
CIE-LABlab(39.09, 57.68, 30.66)
CIE-LCHlch(39.09, 65.32, 27.99°)
OKLaboklab(49.74% 0.1685 0.0692)
OKLCHoklch(49.74% 0.182 22.3)
XYZxyz(19.5502, 10.7127, 3.6226)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E2E #1EB3A3
analogous
#B31E78 #B31E2E #B3581E
triadic
#B31E2E #2EB31E #1E2EB3
tetradic
#B31E2E #78B31E #1EB3A3 #581EB3
square
#B31E2E #78B31E #1EB3A3 #581EB3
split-complementary
#B31E2E #1EB358 #1E78B3
monochromatic
#4A0C13 #7F1521 #B31E2E #DD3244 #E56674

Accessibility & contrast

On white

6.68
#B31E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B31E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E2E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E2E#FFFFFF#000000##FFFFFF
##B31E2E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482D
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#C50026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e2e;
/* rgb */ color: rgb(179, 30, 46);
/* oklch */ color: oklch(49.7% 0.182 22.3);
Tailwind
colors: {
  custom: {
    50: '#d36b67',
    500: '#b31e2e',
    950: '#000000',
  },
}
SCSS
$custom: #b31e2e;
$custom-light: #d36b67;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e2e",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 353.557,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.18212,
    "h": 22.3
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#B31E2E
secondary
#62CBBF
accent
#EEDB3A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A

Preview Lab

Preview with #B31E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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