#7E3017#7E3017

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

Color values

HEX#7E3017
RGBrgb(126, 48, 23)
HSLhsl(15, 69%, 29%)
HSVhsv(15, 82%, 49%)
CMYKcmyk(0%, 61.9%, 81.7%, 50.6%)
CIE-LABlab(30.91, 32.40, 32.20)
CIE-LCHlch(30.91, 45.68, 44.82°)
OKLaboklab(41.66% 0.0906 0.0701)
OKLCHoklch(41.66% 0.115 37.7)
XYZxyz(9.8168, 6.6127, 1.5699)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3017 #17657E
analogous
#7E1732 #7E3017 #7E6417
triadic
#7E3017 #177E30 #30177E
tetradic
#7E3017 #327E17 #17657E #64177E
square
#7E3017 #327E17 #17657E #64177E
split-complementary
#7E3017 #177E64 #17327E
monochromatic
#1A0A05 #4A1C0E #7E3017 #B24420 #DA5D35

Accessibility & contrast

On white

9.04
#7E3017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E3017
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3017#FFFFFF#000000##FFFFFF
##7E30171.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#8B1D2B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e3017;
/* rgb */ color: rgb(126, 48, 23);
/* oklch */ color: oklch(41.7% 0.115 37.7);
Tailwind
colors: {
  custom: {
    50: '#aa6b56',
    500: '#7e3017',
    950: '#000000',
  },
}
SCSS
$custom: #7e3017;
$custom-light: #aa6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3017",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 23
  },
  "hsl": {
    "h": 14.563,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.1146,
    "h": 37.7
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#7E3017
secondary
#3E96B3
accent
#C1EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E3017

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

Preview Lab → · Contrast checker → · Palette generator →

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