#7D311F#7D311F

#7D311F is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.7% C 0.110 H 34.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7D311F
RGBrgb(125, 49, 31)
HSLhsl(11, 60%, 31%)
HSVhsv(11, 75%, 49%)
CMYKcmyk(0%, 60.8%, 75.2%, 51%)
CIE-LABlab(31.01, 31.85, 27.72)
CIE-LCHlch(31.01, 42.23, 41.04°)
OKLaboklab(41.74% 0.0906 0.0627)
OKLCHoklch(41.74% 0.11 34.7)
XYZxyz(9.8041, 6.6568, 2.0647)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D311F #1F6B7D
analogous
#7D1F3C #7D311F #7D601F
triadic
#7D311F #1F7D31 #311F7D
tetradic
#7D311F #3C7D1F #1F6B7D #601F7D
square
#7D311F #3C7D1F #1F6B7D #601F7D
split-complementary
#7D311F #1F7D60 #1F3C7D
monochromatic
#1B0B07 #4C1E13 #7D311F #AE442B #D16045

Accessibility & contrast

On white

9.01
#7D311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D311F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D311F#FFFFFF#000000##FFFFFF
##7D311F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#8A202D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d311f;
/* rgb */ color: rgb(125, 49, 31);
/* oklch */ color: oklch(41.7% 0.110 34.7);
Tailwind
colors: {
  custom: {
    50: '#a96c5b',
    500: '#7d311f',
    950: '#000000',
  },
}
SCSS
$custom: #7d311f;
$custom-light: #a96c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d311f",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 11.489,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.11018,
    "h": 34.7
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#7D311F
secondary
#489CB0
accent
#C5E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7D311F

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

Preview Lab → · Contrast checker → · Palette generator →

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