#B31E2C#B31E2C

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

Color values

HEX#B31E2C
RGBrgb(179, 30, 44)
HSLhsl(354, 71%, 41%)
HSVhsv(354, 83%, 70%)
CMYKcmyk(0%, 83.2%, 75.4%, 29.8%)
CIE-LABlab(39.07, 57.60, 31.84)
CIE-LCHlch(39.07, 65.82, 28.93°)
OKLaboklab(49.71% 0.1678 0.0713)
OKLCHoklch(49.71% 0.182 23)
XYZxyz(19.5117, 10.6973, 3.4198)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E2C #1EB3A5
analogous
#B31E76 #B31E2C #B35A1E
triadic
#B31E2C #2CB31E #1E2CB3
tetradic
#B31E2C #76B31E #1EB3A5 #5A1EB3
square
#B31E2C #76B31E #1EB3A5 #5A1EB3
split-complementary
#B31E2C #1EB35A #1E76B3
monochromatic
#4A0C12 #7F151F #B31E2C #DD3242 #E56672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E2C#FFFFFF#000000##FFFFFF
##B31E2C1.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)
#4E482B
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C50025
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31e2c;
/* rgb */ color: rgb(179, 30, 44);
/* oklch */ color: oklch(49.7% 0.182 23.0);
Tailwind
colors: {
  custom: {
    50: '#d36b65',
    500: '#b31e2c',
    950: '#000000',
  },
}
SCSS
$custom: #b31e2c;
$custom-light: #d36b65;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e2c",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 354.362,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.18228,
    "h": 23
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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