#7E341F#7E341F

#7E341F is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.4% C 0.108 H 36.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7E341F
RGBrgb(126, 52, 31)
HSLhsl(13, 61%, 31%)
HSVhsv(13, 75%, 49%)
CMYKcmyk(0%, 58.7%, 75.4%, 50.6%)
CIE-LABlab(31.79, 30.69, 28.63)
CIE-LCHlch(31.79, 41.97, 43.01°)
OKLaboklab(42.36% 0.0869 0.0646)
OKLCHoklch(42.36% 0.108 36.6)
XYZxyz(10.0805, 6.9919, 2.1148)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E341F #1F697E
analogous
#7E1F39 #7E341F #7E631F
triadic
#7E341F #1F7E34 #341F7E
tetradic
#7E341F #397E1F #1F697E #631F7E
square
#7E341F #397E1F #1F697E #631F7E
split-complementary
#7E341F #1F7E63 #1F397E
monochromatic
#1C0B07 #4D2013 #7E341F #AF482B #D16546

Accessibility & contrast

On white

8.76
#7E341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E341F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E341F#FFFFFF#000000##FFFFFF
##7E341F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#8B242F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e341f;
/* rgb */ color: rgb(126, 52, 31);
/* oklch */ color: oklch(42.4% 0.108 36.6);
Tailwind
colors: {
  custom: {
    50: '#a96e5b',
    500: '#7e341f',
    950: '#000000',
  },
}
SCSS
$custom: #7e341f;
$custom-light: #a96e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e341f",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 13.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.10829,
    "h": 36.6
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#7E341F
secondary
#489AB1
accent
#C0E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E341F

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

Preview Lab → · Contrast checker → · Palette generator →

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