#B31E1D#B31E1D

#B31E1D is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 27.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B31E1D
RGBrgb(179, 30, 29)
HSLhsl(0, 72%, 41%)
HSVhsv(0, 84%, 70%)
CMYKcmyk(0%, 83.2%, 83.8%, 29.8%)
CIE-LABlab(38.91, 57.11, 40.24)
CIE-LCHlch(38.91, 69.87, 35.17°)
OKLaboklab(49.54% 0.163 0.0848)
OKLCHoklch(49.54% 0.184 27.5)
XYZxyz(19.2789, 10.6042, 2.1939)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E1D #1DB2B3
analogous
#B31D67 #B31E1D #B3691D
triadic
#B31E1D #1DB31E #1E1DB3
tetradic
#B31E1D #67B31D #1DB2B3 #691DB3
square
#B31E1D #67B31D #1DB2B3 #691DB3
split-complementary
#B31E1D #1DB369 #1D67B3
monochromatic
#4A0C0C #7E1514 #B31E1D #DD3130 #E66564

Accessibility & contrast

On white

6.73
#B31E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E1D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E1D#FFFFFF#000000##FFFFFF
##B31E1D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31e1d;
/* rgb */ color: rgb(179, 30, 29);
/* oklch */ color: oklch(49.5% 0.184 27.5);
Tailwind
colors: {
  custom: {
    50: '#d46b5b',
    500: '#b31e1d',
    950: '#000000',
  },
}
SCSS
$custom: #b31e1d;
$custom-light: #d46b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e1d",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 29
  },
  "hsl": {
    "h": 0.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.18375,
    "h": 27.5
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#B31E1D
secondary
#61CACB
accent
#EEEF39
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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