#7E342F#7E342F

#7E342F is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.6% C 0.104 H 26.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7E342F
RGBrgb(126, 52, 47)
HSLhsl(4, 46%, 34%)
HSVhsv(4, 63%, 49%)
CMYKcmyk(0%, 58.7%, 62.7%, 50.6%)
CIE-LABlab(32.03, 31.71, 19.13)
CIE-LCHlch(32.03, 37.04, 31.10°)
OKLaboklab(42.62% 0.0933 0.0461)
OKLCHoklch(42.62% 0.104 26.3)
XYZxyz(10.3462, 7.0981, 3.5140)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E342F #2F797E
analogous
#7E2F52 #7E342F #7E5C2F
triadic
#7E342F #2F7E34 #342F7E
tetradic
#7E342F #527E2F #2F797E #5C2F7E
square
#7E342F #527E2F #2F797E #5C2F7E
split-complementary
#7E342F #2F7E5C #2F527E
monochromatic
#250F0E #51221E #7E342F #AB4640 #C56963

Accessibility & contrast

On white

8.68
#7E342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E342F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E342F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E342F#FFFFFF#000000##FFFFFF
##7E342F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46422E
Deuteranopia (green-blind)
#59512D
Tritanopia (blue-blind)
#8A2633
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e342f;
/* rgb */ color: rgb(126, 52, 47);
/* oklch */ color: oklch(42.6% 0.104 26.3);
Tailwind
colors: {
  custom: {
    50: '#a86e67',
    500: '#7e342f',
    950: '#000000',
  },
}
SCSS
$custom: #7e342f;
$custom-light: #a86e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e342f",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 3.797,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.10405,
    "h": 26.3
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#7E342F
secondary
#5DA7AC
accent
#CDD552
background
#FAF6F6
surface
#F4ECEB
border
#CEC7C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E342F

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

Preview Lab → · Contrast checker → · Palette generator →

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