#7D311C#7D311C

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

Color values

HEX#7D311C
RGBrgb(125, 49, 28)
HSLhsl(13, 63%, 30%)
HSVhsv(13, 78%, 49%)
CMYKcmyk(0%, 60.8%, 77.6%, 51%)
CIE-LABlab(30.98, 31.70, 29.43)
CIE-LCHlch(30.98, 43.26, 42.87°)
OKLaboklab(41.7% 0.0896 0.0656)
OKLCHoklch(41.7% 0.111 36.2)
XYZxyz(9.7664, 6.6418, 1.8661)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D311C #1C687D
analogous
#7D1C37 #7D311C #7D621C
triadic
#7D311C #1C7D31 #311C7D
tetradic
#7D311C #377D1C #1C687D #621C7D
square
#7D311C #377D1C #1C687D #621C7D
split-complementary
#7D311C #1C7D62 #1C377D
monochromatic
#190A06 #4B1D11 #7D311C #AF4527 #D4603F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D311C#FFFFFF#000000##FFFFFF
##7D311C1.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)
#463E19
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#8A202D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d311c;
/* rgb */ color: rgb(125, 49, 28);
/* oklch */ color: oklch(41.7% 0.111 36.2);
Tailwind
colors: {
  custom: {
    50: '#a96c59',
    500: '#7d311c',
    950: '#000000',
  },
}
SCSS
$custom: #7d311c;
$custom-light: #a96c59;
$custom-dark: #000000;
JSON
{
  "hex": "#7d311c",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 12.99,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.11103,
    "h": 36.2
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#7D311C
secondary
#4499B1
accent
#C3E641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D311C

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

Preview Lab → · Contrast checker → · Palette generator →

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