#B31C21#B31C21

#B31C21 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.5% C 0.185 H 26.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B31C21
RGBrgb(179, 28, 33)
HSLhsl(358, 73%, 41%)
HSVhsv(358, 84%, 70%)
CMYKcmyk(0%, 84.4%, 81.6%, 29.8%)
CIE-LABlab(38.77, 57.71, 37.93)
CIE-LCHlch(38.77, 69.06, 33.32°)
OKLaboklab(49.45% 0.1657 0.0812)
OKLCHoklch(49.45% 0.185 26.1)
XYZxyz(19.2826, 10.5272, 2.4552)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C21 #1CB3AE
analogous
#B31C6C #B31C21 #B3621C
triadic
#B31C21 #21B31C #1C21B3
tetradic
#B31C21 #6CB31C #1CB3AE #621CB3
square
#B31C21 #6CB31C #1CB3AE #621CB3
split-complementary
#B31C21 #1CB362 #1C6CB3
monochromatic
#490B0D #7E1417 #B31C21 #DE2E34 #E76367

Accessibility & contrast

On white

6.76
#B31C21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B31C21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C21
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C21#FFFFFF#000000##FFFFFF
##B31C211.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31c21;
/* rgb */ color: rgb(179, 28, 33);
/* oklch */ color: oklch(49.5% 0.185 26.1);
Tailwind
colors: {
  custom: {
    50: '#d46a5d',
    500: '#b31c21',
    950: '#000000',
  },
}
SCSS
$custom: #b31c21;
$custom-light: #d46a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c21",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 33
  },
  "hsl": {
    "h": 358.013,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.18453,
    "h": 26.1
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#B31C21
secondary
#5FCBC8
accent
#F0EA38
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31C21

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

Preview Lab → · Contrast checker → · Palette generator →

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