#B31D1E#B31D1E

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

Color values

HEX#B31D1E
RGBrgb(179, 29, 30)
HSLhsl(360, 72%, 41%)
HSVhsv(360, 84%, 70%)
CMYKcmyk(0%, 83.8%, 83.2%, 29.8%)
CIE-LABlab(38.83, 57.39, 39.63)
CIE-LCHlch(38.83, 69.74, 34.63°)
OKLaboklab(49.49% 0.1641 0.0838)
OKLCHoklch(49.49% 0.184 27.1)
XYZxyz(19.2665, 10.5594, 2.2518)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D1E #1DB3B2
analogous
#B31D69 #B31D1E #B3671D
triadic
#B31D1E #1EB31D #1D1EB3
tetradic
#B31D1E #69B31D #1DB3B2 #671DB3
square
#B31D1E #69B31D #1DB3B2 #671DB3
split-complementary
#B31D1E #1DB367 #1D69B3
monochromatic
#4A0C0C #7E1415 #B31D1E #DD3031 #E66465

Accessibility & contrast

On white

6.75
#B31D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B31D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D1E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D1E#FFFFFF#000000##FFFFFF
##B31D1E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#746716
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31d1e;
/* rgb */ color: rgb(179, 29, 30);
/* oklch */ color: oklch(49.5% 0.184 27.1);
Tailwind
colors: {
  custom: {
    50: '#d46a5b',
    500: '#b31d1e',
    950: '#000000',
  },
}
SCSS
$custom: #b31d1e;
$custom-light: #d46a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d1e",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 30
  },
  "hsl": {
    "h": 359.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.18425,
    "h": 27.1
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#B31D1E
secondary
#61CBCA
accent
#EFEE39
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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