#B31E2B#B31E2B

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

Color values

HEX#B31E2B
RGBrgb(179, 30, 43)
HSLhsl(355, 71%, 41%)
HSVhsv(355, 83%, 70%)
CMYKcmyk(0%, 83.2%, 76%, 29.8%)
CIE-LABlab(39.05, 57.56, 32.42)
CIE-LCHlch(39.05, 66.07, 29.39°)
OKLaboklab(49.7% 0.1674 0.0723)
OKLCHoklch(49.7% 0.182 23.4)
XYZxyz(19.4931, 10.6898, 3.3220)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E2B #1EB3A6
analogous
#B31E75 #B31E2B #B35B1E
triadic
#B31E2B #2BB31E #1E2BB3
tetradic
#B31E2B #75B31E #1EB3A6 #5B1EB3
square
#B31E2B #75B31E #1EB3A6 #5B1EB3
split-complementary
#B31E2B #1EB35B #1E75B3
monochromatic
#4A0C12 #7F151E #B31E2B #DD3241 #E56671

Accessibility & contrast

On white

6.69
#B31E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E2B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E2B#FFFFFF#000000##FFFFFF
##B31E2B1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#C50025
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e2b;
/* rgb */ color: rgb(179, 30, 43);
/* oklch */ color: oklch(49.7% 0.182 23.4);
Tailwind
colors: {
  custom: {
    50: '#d36b64',
    500: '#b31e2b',
    950: '#000000',
  },
}
SCSS
$custom: #b31e2b;
$custom-light: #d36b64;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e2b",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 354.765,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.18236,
    "h": 23.4
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

primary
#B31E2B
secondary
#62CBC1
accent
#EEDE3A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A

Preview Lab

Preview with #B31E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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