#B31D22#B31D22

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

Color values

HEX#B31D22
RGBrgb(179, 29, 34)
HSLhsl(358, 72%, 41%)
HSVhsv(358, 84%, 70%)
CMYKcmyk(0%, 83.8%, 81%, 29.8%)
CIE-LABlab(38.87, 57.50, 37.46)
CIE-LCHlch(38.87, 68.63, 33.09°)
OKLaboklab(49.53% 0.1652 0.0806)
OKLCHoklch(49.53% 0.184 26)
XYZxyz(19.3209, 10.5811, 2.5381)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D22 #1DB3AE
analogous
#B31D6D #B31D22 #B3631D
triadic
#B31D22 #22B31D #1D22B3
tetradic
#B31D22 #6DB31D #1DB3AE #631DB3
square
#B31D22 #6DB31D #1DB3AE #631DB3
split-complementary
#B31D22 #1DB363 #1D6DB3
monochromatic
#4A0C0E #7E1418 #B31D22 #DD3036 #E66469

Accessibility & contrast

On white

6.74
#B31D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31D22
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D22#FFFFFF#000000##FFFFFF
##B31D221.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4720
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31d22;
/* rgb */ color: rgb(179, 29, 34);
/* oklch */ color: oklch(49.5% 0.184 26.0);
Tailwind
colors: {
  custom: {
    50: '#d46a5e',
    500: '#b31d22',
    950: '#000000',
  },
}
SCSS
$custom: #b31d22;
$custom-light: #d46a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d22",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 358,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.18383,
    "h": 26
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#B31D22
secondary
#61CBC7
accent
#EFE939
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D22

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

Preview Lab → · Contrast checker → · Palette generator →

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