#7E342E#7E342E

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

Color values

HEX#7E342E
RGBrgb(126, 52, 46)
HSLhsl(5, 47%, 34%)
HSVhsv(5, 63%, 49%)
CMYKcmyk(0%, 58.7%, 63.5%, 50.6%)
CIE-LABlab(32.01, 31.64, 19.74)
CIE-LCHlch(32.01, 37.29, 31.97°)
OKLaboklab(42.6% 0.0929 0.0474)
OKLCHoklch(42.6% 0.104 27)
XYZxyz(10.3262, 7.0901, 3.4090)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E342E #2E787E
analogous
#7E2E50 #7E342E #7E5C2E
triadic
#7E342E #2E7E34 #342E7E
tetradic
#7E342E #507E2E #2E787E #5C2E7E
square
#7E342E #507E2E #2E787E #5C2E7E
split-complementary
#7E342E #2E7E5C #2E507E
monochromatic
#240F0D #51211E #7E342E #AB473E #C56961

Accessibility & contrast

On white

8.69
#7E342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E342E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E342E#FFFFFF#000000##FFFFFF
##7E342E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e342e;
/* rgb */ color: rgb(126, 52, 46);
/* oklch */ color: oklch(42.6% 0.104 27.0);
Tailwind
colors: {
  custom: {
    50: '#a86e66',
    500: '#7e342e',
    950: '#000000',
  },
}
SCSS
$custom: #7e342e;
$custom-light: #a86e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e342e",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 4.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.10426,
    "h": 27
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#7E342E
secondary
#5CA6AC
accent
#CCD652
background
#FAF6F6
surface
#F4ECEB
border
#CEC7C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E342E

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

Preview Lab → · Contrast checker → · Palette generator →

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