#7E342A#7E342A

#7E342A is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.5% C 0.105 H 29.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7E342A
RGBrgb(126, 52, 42)
HSLhsl(7, 50%, 33%)
HSVhsv(7, 67%, 49%)
CMYKcmyk(0%, 58.7%, 66.7%, 50.6%)
CIE-LABlab(31.94, 31.35, 22.17)
CIE-LCHlch(31.94, 38.39, 35.26°)
OKLaboklab(42.52% 0.0912 0.0523)
OKLCHoklch(42.52% 0.105 29.8)
XYZxyz(10.2510, 7.0601, 3.0130)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E342A #2A747E
analogous
#7E2A4A #7E342A #7E5E2A
triadic
#7E342A #2A7E34 #342A7E
tetradic
#7E342A #4A7E2A #2A747E #5E2A7E
square
#7E342A #4A7E2A #2A747E #5E2A7E
split-complementary
#7E342A #2A7E5E #2A4A7E
monochromatic
#220E0B #50211B #7E342A #AC4739 #C8675A

Accessibility & contrast

On white

8.71
#7E342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E342A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E342A#FFFFFF#000000##FFFFFF
##7E342A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#8A2632
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e342a;
/* rgb */ color: rgb(126, 52, 42);
/* oklch */ color: oklch(42.5% 0.105 29.8);
Tailwind
colors: {
  custom: {
    50: '#a96e63',
    500: '#7e342a',
    950: '#000000',
  },
}
SCSS
$custom: #7e342a;
$custom-light: #a96e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e342a",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 7.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.10516,
    "h": 29.8
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#7E342A
secondary
#56A3AE
accent
#C9DA4E
background
#FAF6F5
surface
#F5ECEA
border
#CFC7C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E342A

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

Preview Lab → · Contrast checker → · Palette generator →

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