#B31D1D#B31D1D

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

Color values

HEX#B31D1D
RGBrgb(179, 29, 29)
HSLhsl(0, 72%, 41%)
HSVhsv(0, 84%, 70%)
CMYKcmyk(0%, 83.8%, 83.8%, 29.8%)
CIE-LABlab(38.82, 57.36, 40.16)
CIE-LCHlch(38.82, 70.02, 35.00°)
OKLaboklab(49.48% 0.1638 0.0846)
OKLCHoklch(49.48% 0.184 27.3)
XYZxyz(19.2540, 10.5543, 2.1856)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D1D #1DB3B3
analogous
#B31D68 #B31D1D #B3681D
triadic
#B31D1D #1DB31D #1D1DB3
tetradic
#B31D1D #68B31D #1DB3B3 #681DB3
square
#B31D1D #68B31D #1DB3B3 #681DB3
split-complementary
#B31D1D #1DB368 #1D68B3
monochromatic
#4A0C0C #7E1414 #B31D1D #DD3030 #E66464

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31D1D#FFFFFF#000000##FFFFFF
##B31D1D1.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)
#4F471A
Deuteranopia (green-blind)
#746714
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31d1d;
/* rgb */ color: rgb(179, 29, 29);
/* oklch */ color: oklch(49.5% 0.184 27.3);
Tailwind
colors: {
  custom: {
    50: '#d46a5b',
    500: '#b31d1d',
    950: '#000000',
  },
}
SCSS
$custom: #b31d1d;
$custom-light: #d46a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d1d",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 29
  },
  "hsl": {
    "h": 0,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.18435,
    "h": 27.3
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#B31D1D
secondary
#61CBCB
accent
#EFEF39
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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