#B3311C#B3311C

#B3311C is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.170 H 31.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B3311C
RGBrgb(179, 49, 28)
HSLhsl(8, 73%, 41%)
HSVhsv(8, 84%, 70%)
CMYKcmyk(0%, 72.6%, 84.4%, 29.8%)
CIE-LABlab(41.00, 51.19, 42.67)
CIE-LCHlch(41.00, 66.64, 39.81°)
OKLaboklab(51.1% 0.1444 0.0898)
OKLCHoklch(51.1% 0.17 31.9)
XYZxyz(19.9007, 11.8673, 2.3411)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3311C #1C9EB3
analogous
#B31C53 #B3311C #B37C1C
triadic
#B3311C #1CB331 #311CB3
tetradic
#B3311C #53B31C #1C9EB3 #7C1CB3
square
#B3311C #53B31C #1C9EB3 #7C1CB3
split-complementary
#B3311C #1CB37C #1C53B3
monochromatic
#49140B #7E2314 #B3311C #DE462E #E77563

Accessibility & contrast

On white

6.23
#B3311C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B3311C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3311C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3311C#FFFFFF#000000##FFFFFF
##B3311C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#786B14
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b3311c;
/* rgb */ color: rgb(179, 49, 28);
/* oklch */ color: oklch(51.1% 0.170 31.9);
Tailwind
colors: {
  custom: {
    50: '#d3725b',
    500: '#b3311c',
    950: '#000000',
  },
}
SCSS
$custom: #b3311c;
$custom-light: #d3725b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3311c",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 8.344,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.17002,
    "h": 31.9
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#B3311C
secondary
#5FBCCB
accent
#D6F038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3311C

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

Preview Lab → · Contrast checker → · Palette generator →

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