#7D311B#7D311B

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

Color values

HEX#7D311B
RGBrgb(125, 49, 27)
HSLhsl(13, 64%, 30%)
HSVhsv(13, 78%, 49%)
CMYKcmyk(0%, 60.8%, 78.4%, 51%)
CIE-LABlab(30.97, 31.66, 29.99)
CIE-LCHlch(30.97, 43.61, 43.45°)
OKLaboklab(41.69% 0.0892 0.0666)
OKLCHoklch(41.69% 0.111 36.7)
XYZxyz(9.7546, 6.6371, 1.8041)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D311B #1B677D
analogous
#7D1B36 #7D311B #7D621B
triadic
#7D311B #1B7D31 #311B7D
tetradic
#7D311B #367D1B #1B677D #621B7D
square
#7D311B #367D1B #1B677D #621B7D
split-complementary
#7D311B #1B7D62 #1B367D
monochromatic
#190A05 #4B1D10 #7D311B #AF4526 #D55F3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D311B#FFFFFF#000000##FFFFFF
##7D311B1.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)
#463E18
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#8A202C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d311b;
/* rgb */ color: rgb(125, 49, 27);
/* oklch */ color: oklch(41.7% 0.111 36.7);
Tailwind
colors: {
  custom: {
    50: '#a96c58',
    500: '#7d311b',
    950: '#000000',
  },
}
SCSS
$custom: #7d311b;
$custom-light: #a96c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7d311b",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 13.469,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.11132,
    "h": 36.7
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#7D311B
secondary
#4398B1
accent
#C2E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D311B

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

Preview Lab → · Contrast checker → · Palette generator →

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