#7D311D#7D311D

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

Color values

HEX#7D311D
RGBrgb(125, 49, 29)
HSLhsl(13, 62%, 30%)
HSVhsv(13, 77%, 49%)
CMYKcmyk(0%, 60.8%, 76.8%, 51%)
CIE-LABlab(30.99, 31.75, 28.87)
CIE-LCHlch(30.99, 42.91, 42.28°)
OKLaboklab(41.71% 0.0899 0.0647)
OKLCHoklch(41.71% 0.111 35.7)
XYZxyz(9.7785, 6.6466, 1.9302)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D311D #1D697D
analogous
#7D1D39 #7D311D #7D611D
triadic
#7D311D #1D7D31 #311D7D
tetradic
#7D311D #397D1D #1D697D #611D7D
square
#7D311D #397D1D #1D697D #611D7D
split-complementary
#7D311D #1D7D61 #1D397D
monochromatic
#1A0A06 #4B1E11 #7D311D #AF4429 #D36041

Accessibility & contrast

On white

9.02
#7D311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D311D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D311D#FFFFFF#000000##FFFFFF
##7D311D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1B
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#8A202D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d311d;
/* rgb */ color: rgb(125, 49, 29);
/* oklch */ color: oklch(41.7% 0.111 35.7);
Tailwind
colors: {
  custom: {
    50: '#a96c5a',
    500: '#7d311d',
    950: '#000000',
  },
}
SCSS
$custom: #7d311d;
$custom-light: #a96c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d311d",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 12.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.11075,
    "h": 35.7
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#7D311D
secondary
#459AB1
accent
#C3E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7D311D

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

Preview Lab → · Contrast checker → · Palette generator →

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