#7E321B#7E321B

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

Color values

HEX#7E321B
RGBrgb(126, 50, 27)
HSLhsl(14, 65%, 30%)
HSVhsv(14, 79%, 49%)
CMYKcmyk(0%, 60.3%, 78.6%, 50.6%)
CIE-LABlab(31.34, 31.54, 30.44)
CIE-LCHlch(31.34, 43.83, 43.98°)
OKLaboklab(42% 0.0888 0.0675)
OKLCHoklch(42% 0.112 37.2)
XYZxyz(9.9436, 6.7973, 1.8251)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E321B #1B677E
analogous
#7E1B36 #7E321B #7E631B
triadic
#7E321B #1B7E32 #321B7E
tetradic
#7E321B #367E1B #1B677E #631B7E
square
#7E321B #367E1B #1B677E #631B7E
split-complementary
#7E321B #1B7E63 #1B367E
monochromatic
#190A05 #4C1E10 #7E321B #B04626 #D6613E

Accessibility & contrast

On white

8.90
#7E321B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E321B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E321B#FFFFFF#000000##FFFFFF
##7E321B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e321b;
/* rgb */ color: rgb(126, 50, 27);
/* oklch */ color: oklch(42.0% 0.112 37.2);
Tailwind
colors: {
  custom: {
    50: '#aa6d59',
    500: '#7e321b',
    950: '#000000',
  },
}
SCSS
$custom: #7e321b;
$custom-light: #aa6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e321b",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 13.939,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.1115,
    "h": 37.2
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#7E321B
secondary
#4398B2
accent
#C1E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E321B

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

Preview Lab → · Contrast checker → · Palette generator →

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