#B31D21#B31D21

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

Color values

HEX#B31D21
RGBrgb(179, 29, 33)
HSLhsl(358, 72%, 41%)
HSVhsv(358, 84%, 70%)
CMYKcmyk(0%, 83.8%, 81.6%, 29.8%)
CIE-LABlab(38.86, 57.47, 38.01)
CIE-LCHlch(38.86, 68.91, 33.48°)
OKLaboklab(49.52% 0.1649 0.0814)
OKLCHoklch(49.52% 0.184 26.3)
XYZxyz(19.3067, 10.5754, 2.4633)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D21 #1DB3AF
analogous
#B31D6C #B31D21 #B3641D
triadic
#B31D21 #21B31D #1D21B3
tetradic
#B31D21 #6CB31D #1DB3AF #641DB3
square
#B31D21 #6CB31D #1DB3AF #641DB3
split-complementary
#B31D21 #1DB364 #1D6CB3
monochromatic
#4A0C0E #7E1417 #B31D21 #DD3034 #E66468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31D21#FFFFFF#000000##FFFFFF
##B31D211.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31d21;
/* rgb */ color: rgb(179, 29, 33);
/* oklch */ color: oklch(49.5% 0.184 26.3);
Tailwind
colors: {
  custom: {
    50: '#d46a5d',
    500: '#b31d21',
    950: '#000000',
  },
}
SCSS
$custom: #b31d21;
$custom-light: #d46a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d21",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 33
  },
  "hsl": {
    "h": 358.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.18393,
    "h": 26.3
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#B31D21
secondary
#61CBC8
accent
#EFEA39
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79

Preview Lab

Preview with #B31D21

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

Preview Lab → · Contrast checker → · Palette generator →

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