#7E412F#7E412F

#7E412F is a dark, moderate red. Relative luminance 0.084; OKLCH L 44.8% C 0.089 H 37.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7E412F
RGBrgb(126, 65, 47)
HSLhsl(14, 46%, 34%)
HSVhsv(14, 63%, 49%)
CMYKcmyk(0%, 48.4%, 62.7%, 50.6%)
CIE-LABlab(34.85, 24.55, 22.69)
CIE-LCHlch(34.85, 33.43, 42.74°)
OKLaboklab(44.76% 0.0711 0.0541)
OKLCHoklch(44.76% 0.089 37.3)
XYZxyz(11.0084, 8.4226, 3.7348)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E412F #2F6C7E
analogous
#7E2F45 #7E412F #7E692F
triadic
#7E412F #2F7E41 #412F7E
tetradic
#7E412F #457E2F #2F6C7E #692F7E
square
#7E412F #457E2F #2F6C7E #692F7E
split-complementary
#7E412F #2F7E69 #2F457E
monochromatic
#25130E #512A1E #7E412F #AB5840 #C57963

Accessibility & contrast

On white

7.82
#7E412F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E412F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E412F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E412F#FFFFFF#000000##FFFFFF
##7E412F1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#8A363D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e412f;
/* rgb */ color: rgb(126, 65, 47);
/* oklch */ color: oklch(44.8% 0.089 37.3);
Tailwind
colors: {
  custom: {
    50: '#a77768',
    500: '#7e412f',
    950: '#000000',
  },
}
SCSS
$custom: #7e412f;
$custom-light: #a77768;
$custom-dark: #000000;
JSON
{
  "hex": "#7e412f",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 47
  },
  "hsl": {
    "h": 13.671,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.08933,
    "h": 37.3
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#7E412F
secondary
#5D9AAC
accent
#B8D552
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A

Preview Lab

Preview with #7E412F

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

Preview Lab → · Contrast checker → · Palette generator →

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