#7D311A#7D311A

#7D311A is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 37.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7D311A
RGBrgb(125, 49, 26)
HSLhsl(14, 66%, 30%)
HSVhsv(14, 79%, 49%)
CMYKcmyk(0%, 60.8%, 79.2%, 51%)
CIE-LABlab(30.96, 31.61, 30.54)
CIE-LCHlch(30.96, 43.95, 44.01°)
OKLaboklab(41.67% 0.0889 0.0675)
OKLCHoklch(41.67% 0.112 37.2)
XYZxyz(9.7432, 6.6325, 1.7442)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D311A #1A667D
analogous
#7D1A35 #7D311A #7D621A
triadic
#7D311A #1A7D31 #311A7D
tetradic
#7D311A #357D1A #1A667D #621A7D
square
#7D311A #357D1A #1A667D #621A7D
split-complementary
#7D311A #1A7D62 #1A357D
monochromatic
#190A05 #4A1D0F #7D311A #B04525 #D65F3B

Accessibility & contrast

On white

9.03
#7D311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D311A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D311A#FFFFFF#000000##FFFFFF
##7D311A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#8A1F2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d311a;
/* rgb */ color: rgb(125, 49, 26);
/* oklch */ color: oklch(41.7% 0.112 37.2);
Tailwind
colors: {
  custom: {
    50: '#a96c58',
    500: '#7d311a',
    950: '#000000',
  },
}
SCSS
$custom: #7d311a;
$custom-light: #a96c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7d311a",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 13.939,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.11161,
    "h": 37.2
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#7D311A
secondary
#4297B1
accent
#C1E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D311A

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

Preview Lab → · Contrast checker → · Palette generator →

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