#7C311B#7C311B

#7C311B is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.5% C 0.110 H 36.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7C311B
RGBrgb(124, 49, 27)
HSLhsl(14, 64%, 30%)
HSVhsv(14, 78%, 49%)
CMYKcmyk(0%, 60.5%, 78.2%, 51.4%)
CIE-LABlab(30.79, 31.25, 29.75)
CIE-LCHlch(30.79, 43.15, 43.59°)
OKLaboklab(41.52% 0.0881 0.0661)
OKLCHoklch(41.52% 0.11 36.9)
XYZxyz(9.6093, 6.5621, 1.7973)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C311B #1B667C
analogous
#7C1B36 #7C311B #7C611B
triadic
#7C311B #1B7C31 #311B7C
tetradic
#7C311B #367C1B #1B667C #611B7C
square
#7C311B #367C1B #1B667C #611B7C
split-complementary
#7C311B #1B7C61 #1B367C
monochromatic
#190A05 #4A1D10 #7C311B #AE4526 #D55F3D

Accessibility & contrast

On white

9.08
#7C311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7C311B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C311B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C311B#FFFFFF#000000##FFFFFF
##7C311B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#89202C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c311b;
/* rgb */ color: rgb(124, 49, 27);
/* oklch */ color: oklch(41.5% 0.110 36.9);
Tailwind
colors: {
  custom: {
    50: '#a86c58',
    500: '#7c311b',
    950: '#000000',
  },
}
SCSS
$custom: #7c311b;
$custom-light: #a86c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7c311b",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 13.608,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.11014,
    "h": 36.9
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#7C311B
secondary
#4397B0
accent
#C1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7C311B

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

Preview Lab → · Contrast checker → · Palette generator →

#7C311B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva