#7E321F#7E321F

#7E321F is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.110 H 35.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7E321F
RGBrgb(126, 50, 31)
HSLhsl(12, 61%, 31%)
HSVhsv(12, 75%, 49%)
CMYKcmyk(0%, 60.3%, 75.4%, 50.6%)
CIE-LABlab(31.39, 31.73, 28.19)
CIE-LCHlch(31.39, 42.45, 41.61°)
OKLaboklab(42.05% 0.0902 0.0636)
OKLCHoklch(42.05% 0.11 35.2)
XYZxyz(9.9931, 6.8171, 2.0857)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E321F #1F6B7E
analogous
#7E1F3B #7E321F #7E611F
triadic
#7E321F #1F7E32 #321F7E
tetradic
#7E321F #3B7E1F #1F6B7E #611F7E
square
#7E321F #3B7E1F #1F6B7E #611F7E
split-complementary
#7E321F #1F7E61 #1F3B7E
monochromatic
#1C0B07 #4D1F13 #7E321F #AF452B #D16246

Accessibility & contrast

On white

8.89
#7E321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E321F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E321F#FFFFFF#000000##FFFFFF
##7E321F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1D
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#8B212E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e321f;
/* rgb */ color: rgb(126, 50, 31);
/* oklch */ color: oklch(42.1% 0.110 35.2);
Tailwind
colors: {
  custom: {
    50: '#aa6d5b',
    500: '#7e321f',
    950: '#000000',
  },
}
SCSS
$custom: #7e321f;
$custom-light: #aa6d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e321f",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 12,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.11033,
    "h": 35.2
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#7E321F
secondary
#489CB1
accent
#C4E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E321F

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

Preview Lab → · Contrast checker → · Palette generator →

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