#7E342C#7E342C

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

Color values

HEX#7E342C
RGBrgb(126, 52, 44)
HSLhsl(6, 48%, 33%)
HSVhsv(6, 65%, 49%)
CMYKcmyk(0%, 58.7%, 65.1%, 50.6%)
CIE-LABlab(31.98, 31.49, 20.96)
CIE-LCHlch(31.98, 37.83, 33.65°)
OKLaboklab(42.56% 0.092 0.0499)
OKLCHoklch(42.56% 0.105 28.5)
XYZxyz(10.2877, 7.0747, 3.2062)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E342C #2C767E
analogous
#7E2C4D #7E342C #7E5D2C
triadic
#7E342C #2C7E34 #342C7E
tetradic
#7E342C #4D7E2C #2C767E #5D2C7E
square
#7E342C #4D7E2C #2C767E #5D2C7E
split-complementary
#7E342C #2C7E5D #2C4D7E
monochromatic
#230F0C #51211C #7E342C #AB473C #C7685E

Accessibility & contrast

On white

8.70
#7E342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E342C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E342C#FFFFFF#000000##FFFFFF
##7E342C1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47412B
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#8A2632
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e342c;
/* rgb */ color: rgb(126, 52, 44);
/* oklch */ color: oklch(42.6% 0.105 28.5);
Tailwind
colors: {
  custom: {
    50: '#a86e65',
    500: '#7e342c',
    950: '#000000',
  },
}
SCSS
$custom: #7e342c;
$custom-light: #a86e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e342c",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 5.854,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4256,
    "c": 0.10469,
    "h": 28.5
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#7E342C
secondary
#59A5AD
accent
#CBD850
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E342C

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

Preview Lab → · Contrast checker → · Palette generator →

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