#7E321A#7E321A

#7E321A is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.0% C 0.112 H 37.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7E321A
RGBrgb(126, 50, 26)
HSLhsl(14, 66%, 30%)
HSVhsv(14, 79%, 49%)
CMYKcmyk(0%, 60.3%, 79.4%, 50.6%)
CIE-LABlab(31.33, 31.50, 30.99)
CIE-LCHlch(31.33, 44.18, 44.53°)
OKLaboklab(41.99% 0.0884 0.0684)
OKLCHoklch(41.99% 0.112 37.7)
XYZxyz(9.9323, 6.7927, 1.7652)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E321A #1A667E
analogous
#7E1A34 #7E321A #7E641A
triadic
#7E321A #1A7E32 #321A7E
tetradic
#7E321A #347E1A #1A667E #641A7E
square
#7E321A #347E1A #1A667E #641A7E
split-complementary
#7E321A #1A7E64 #1A347E
monochromatic
#190A05 #4B1E10 #7E321A #B14624 #D7613C

Accessibility & contrast

On white

8.91
#7E321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E321A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E321A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E321A#FFFFFF#000000##FFFFFF
##7E321A1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#8B212D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e321a;
/* rgb */ color: rgb(126, 50, 26);
/* oklch */ color: oklch(42.0% 0.112 37.7);
Tailwind
colors: {
  custom: {
    50: '#aa6d58',
    500: '#7e321a',
    950: '#000000',
  },
}
SCSS
$custom: #7e321a;
$custom-light: #aa6d58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e321a",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 14.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.11179,
    "h": 37.7
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#7E321A
secondary
#4297B2
accent
#C0E93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E321A

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

Preview Lab → · Contrast checker → · Palette generator →

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