#B3311F#B3311F

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

Color values

HEX#B3311F
RGBrgb(179, 49, 31)
HSLhsl(7, 70%, 41%)
HSVhsv(7, 83%, 70%)
CMYKcmyk(0%, 72.6%, 82.7%, 29.8%)
CIE-LABlab(41.03, 51.28, 41.18)
CIE-LCHlch(41.03, 65.77, 38.77°)
OKLaboklab(51.13% 0.1451 0.0877)
OKLCHoklch(51.13% 0.17 31.1)
XYZxyz(19.9384, 11.8824, 2.5397)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3311F #1FA1B3
analogous
#B31F57 #B3311F #B37B1F
triadic
#B3311F #1FB331 #311FB3
tetradic
#B3311F #57B31F #1FA1B3 #7B1FB3
square
#B3311F #57B31F #1FA1B3 #7B1FB3
split-complementary
#B3311F #1FB37B #1F57B3
monochromatic
#4B140D #7F2316 #B3311F #DC4833 #E57768

Accessibility & contrast

On white

6.22
#B3311F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B3311F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3311F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3311F#FFFFFF#000000##FFFFFF
##B3311F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1B
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#C5002E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b3311f;
/* rgb */ color: rgb(179, 49, 31);
/* oklch */ color: oklch(51.1% 0.170 31.1);
Tailwind
colors: {
  custom: {
    50: '#d3725d',
    500: '#b3311f',
    950: '#000000',
  },
}
SCSS
$custom: #b3311f;
$custom-light: #d3725d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3311f",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 7.297,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.16956,
    "h": 31.1
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#B3311F
secondary
#64BECA
accent
#D8ED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3311F

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

Preview Lab → · Contrast checker → · Palette generator →

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