#7E301A#7E301A

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

Color values

HEX#7E301A
RGBrgb(126, 48, 26)
HSLhsl(13, 66%, 30%)
HSVhsv(13, 79%, 49%)
CMYKcmyk(0%, 61.9%, 79.4%, 50.6%)
CIE-LABlab(30.94, 32.52, 30.58)
CIE-LCHlch(30.94, 44.64, 43.23°)
OKLaboklab(41.7% 0.0916 0.0675)
OKLCHoklch(41.7% 0.114 36.4)
XYZxyz(9.8486, 6.6255, 1.7373)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E301A #1A687E
analogous
#7E1A36 #7E301A #7E621A
triadic
#7E301A #1A7E30 #301A7E
tetradic
#7E301A #367E1A #1A687E #621A7E
square
#7E301A #367E1A #1A687E #621A7E
split-complementary
#7E301A #1A7E62 #1A367E
monochromatic
#190A05 #4B1D10 #7E301A #B14324 #D75E3C

Accessibility & contrast

On white

9.03
#7E301A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E301A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E301A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E301A#FFFFFF#000000##FFFFFF
##7E301A1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#8B1E2B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e301a;
/* rgb */ color: rgb(126, 48, 26);
/* oklch */ color: oklch(41.7% 0.114 36.4);
Tailwind
colors: {
  custom: {
    50: '#aa6b58',
    500: '#7e301a',
    950: '#000000',
  },
}
SCSS
$custom: #7e301a;
$custom-light: #aa6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e301a",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 26
  },
  "hsl": {
    "h": 13.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.11378,
    "h": 36.4
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#7E301A
secondary
#4299B2
accent
#C3E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E301A

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

Preview Lab → · Contrast checker → · Palette generator →

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