#7E403D#7E403D

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

Color values

HEX#7E403D
RGBrgb(126, 64, 61)
HSLhsl(3, 35%, 37%)
HSVhsv(3, 52%, 49%)
CMYKcmyk(0%, 49.2%, 51.6%, 50.6%)
CIE-LABlab(34.88, 26.39, 14.03)
CIE-LCHlch(34.88, 29.89, 27.99°)
OKLaboklab(44.87% 0.0789 0.0351)
OKLCHoklch(44.87% 0.086 24)
XYZxyz(11.2806, 8.4405, 5.4491)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E403D #3D7B7E
analogous
#7E3D5B #7E403D #7E613D
triadic
#7E403D #3D7E40 #403D7E
tetradic
#7E403D #5B7E3D #3D7B7E #613D7E
square
#7E403D #5B7E3D #3D7B7E #613D7E
split-complementary
#7E403D #3D7E61 #3D5B7E
monochromatic
#2C1615 #552B29 #7E403D #A75551 #BE7B78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E403D#FFFFFF#000000##FFFFFF
##7E403D1.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)
#4E4A3C
Deuteranopia (green-blind)
#5D573C
Tritanopia (blue-blind)
#893740
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e403d;
/* rgb */ color: rgb(126, 64, 61);
/* oklch */ color: oklch(44.9% 0.086 24.0);
Tailwind
colors: {
  custom: {
    50: '#a77672',
    500: '#7e403d',
    950: '#000000',
  },
}
SCSS
$custom: #7e403d;
$custom-light: #a77672;
$custom-dark: #000000;
JSON
{
  "hex": "#7e403d",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 61
  },
  "hsl": {
    "h": 2.769,
    "s": 34.759,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44873,
    "c": 0.08632,
    "h": 24
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#7E403D
secondary
#6FA5A8
accent
#C6CB5D
background
#FAF7F6
surface
#F4EDEC
border
#CEC8C7
text
#100808
muted
#7F7B7B

Preview Lab

Preview with #7E403D

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

Preview Lab → · Contrast checker → · Palette generator →

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