#B31C2B#B31C2B

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

Color values

HEX#B31C2B
RGBrgb(179, 28, 43)
HSLhsl(354, 73%, 41%)
HSVhsv(354, 84%, 70%)
CMYKcmyk(0%, 84.4%, 76%, 29.8%)
CIE-LABlab(38.88, 58.04, 32.24)
CIE-LCHlch(38.88, 66.39, 29.05°)
OKLaboklab(49.57% 0.1689 0.0719)
OKLCHoklch(49.57% 0.184 23.1)
XYZxyz(19.4441, 10.5918, 3.3057)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C2B #1CB3A4
analogous
#B31C76 #B31C2B #B3591C
triadic
#B31C2B #2BB31C #1C2BB3
tetradic
#B31C2B #76B31C #1CB3A4 #591CB3
square
#B31C2B #76B31C #1CB3A4 #591CB3
split-complementary
#B31C2B #1CB359 #1C76B3
monochromatic
#490B12 #7E141E #B31C2B #DE2E3F #E76370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31C2B#FFFFFF#000000##FFFFFF
##B31C2B1.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)
#4E472A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#C50024
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31c2b;
/* rgb */ color: rgb(179, 28, 43);
/* oklch */ color: oklch(49.6% 0.184 23.1);
Tailwind
colors: {
  custom: {
    50: '#d36a64',
    500: '#b31c2b',
    950: '#000000',
  },
}
SCSS
$custom: #b31c2b;
$custom-light: #d36a64;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c2b",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 354.04,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.1836,
    "h": 23.1
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#B31C2B
secondary
#5FCBC1
accent
#F0DD38
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160705
muted
#847A7A

Preview Lab

Preview with #B31C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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