#B3311A#B3311A

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

Color values

HEX#B3311A
RGBrgb(179, 49, 26)
HSLhsl(9, 75%, 40%)
HSVhsv(9, 85%, 70%)
CMYKcmyk(0%, 72.6%, 85.5%, 29.8%)
CIE-LABlab(40.99, 51.14, 43.63)
CIE-LCHlch(40.99, 67.22, 40.46°)
OKLaboklab(51.09% 0.1439 0.0912)
OKLCHoklch(51.09% 0.17 32.4)
XYZxyz(19.8776, 11.8580, 2.2193)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3311A #1A9CB3
analogous
#B31A4F #B3311A #B37E1A
triadic
#B3311A #1AB331 #311AB3
tetradic
#B3311A #4FB31A #1A9CB3 #7E1AB3
square
#B3311A #4FB31A #1A9CB3 #7E1AB3
split-complementary
#B3311A #1AB37E #1A4FB3
monochromatic
#48140A #7E2212 #B3311A #E0452A #E87460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3311A#FFFFFF#000000##FFFFFF
##B3311A1.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)
#594E15
Deuteranopia (green-blind)
#796B12
Tritanopia (blue-blind)
#C6002D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b3311a;
/* rgb */ color: rgb(179, 49, 26);
/* oklch */ color: oklch(51.1% 0.170 32.4);
Tailwind
colors: {
  custom: {
    50: '#d3725a',
    500: '#b3311a',
    950: '#000000',
  },
}
SCSS
$custom: #b3311a;
$custom-light: #d3725a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3311a",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 9.02,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.17032,
    "h": 32.4
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#B3311A
secondary
#5DBBCC
accent
#D5F137
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B3311A

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

Preview Lab → · Contrast checker → · Palette generator →

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