#7E403E#7E403E

#7E403E is a dark, moderate red. Relative luminance 0.085; OKLCH L 44.9% C 0.086 H 23.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7E403E
RGBrgb(126, 64, 62)
HSLhsl(2, 34%, 37%)
HSVhsv(2, 51%, 49%)
CMYKcmyk(0%, 49.2%, 50.8%, 50.6%)
CIE-LABlab(34.91, 26.49, 13.43)
CIE-LCHlch(34.91, 29.70, 26.87°)
OKLaboklab(44.9% 0.0793 0.0337)
OKLCHoklch(44.9% 0.086 23)
XYZxyz(11.3078, 8.4514, 5.5923)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E403E #3E7C7E
analogous
#7E3E5C #7E403E #7E603E
triadic
#7E403E #3E7E40 #403E7E
tetradic
#7E403E #5C7E3E #3E7C7E #603E7E
square
#7E403E #5C7E3E #3E7C7E #603E7E
split-complementary
#7E403E #3E7E60 #3E5C7E
monochromatic
#2C1616 #552B2A #7E403E #A75552 #BD7B79

Accessibility & contrast

On white

7.81
#7E403E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E403E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E403E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E403E#FFFFFF#000000##FFFFFF
##7E403E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3D
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#893740
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e403e;
/* rgb */ color: rgb(126, 64, 62);
/* oklch */ color: oklch(44.9% 0.086 23.0);
Tailwind
colors: {
  custom: {
    50: '#a77673',
    500: '#7e403e',
    950: '#000000',
  },
}
SCSS
$custom: #7e403e;
$custom-light: #a77673;
$custom-dark: #000000;
JSON
{
  "hex": "#7e403e",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 1.875,
    "s": 34.043,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.08617,
    "h": 23
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#7E403E
secondary
#70A6A7
accent
#C7CA5E
background
#FAF7F6
surface
#F4EDEC
border
#CEC8C7
text
#100808
muted
#7F7B7B

Preview Lab

Preview with #7E403E

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

Preview Lab → · Contrast checker → · Palette generator →

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