#7E321C#7E321C

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

Color values

HEX#7E321C
RGBrgb(126, 50, 28)
HSLhsl(13, 64%, 30%)
HSVhsv(13, 78%, 49%)
CMYKcmyk(0%, 60.3%, 77.8%, 50.6%)
CIE-LABlab(31.35, 31.59, 29.88)
CIE-LCHlch(31.35, 43.48, 43.41°)
OKLaboklab(42.02% 0.0891 0.0665)
OKLCHoklch(42.02% 0.111 36.7)
XYZxyz(9.9554, 6.8020, 1.8871)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E321C #1C687E
analogous
#7E1C37 #7E321C #7E631C
triadic
#7E321C #1C7E32 #321C7E
tetradic
#7E321C #377E1C #1C687E #631C7E
square
#7E321C #377E1C #1C687E #631C7E
split-complementary
#7E321C #1C7E63 #1C377E
monochromatic
#1A0A06 #4C1E11 #7E321C #B04627 #D56140

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E321C#FFFFFF#000000##FFFFFF
##7E321C1.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)
#473F19
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#8B212D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e321c;
/* rgb */ color: rgb(126, 50, 28);
/* oklch */ color: oklch(42.0% 0.111 36.7);
Tailwind
colors: {
  custom: {
    50: '#aa6d59',
    500: '#7e321c',
    950: '#000000',
  },
}
SCSS
$custom: #7e321c;
$custom-light: #aa6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e321c",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 13.469,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.11121,
    "h": 36.7
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#7E321C
secondary
#4499B2
accent
#C2E741
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E321C

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

Preview Lab → · Contrast checker → · Palette generator →

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