#7E342D#7E342D

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

Color values

HEX#7E342D
RGBrgb(126, 52, 45)
HSLhsl(5, 47%, 34%)
HSVhsv(5, 64%, 49%)
CMYKcmyk(0%, 58.7%, 64.3%, 50.6%)
CIE-LABlab(31.99, 31.56, 20.35)
CIE-LCHlch(31.99, 37.55, 32.81°)
OKLaboklab(42.58% 0.0925 0.0486)
OKLCHoklch(42.58% 0.104 27.7)
XYZxyz(10.3068, 7.0824, 3.3064)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E342D #2D777E
analogous
#7E2D4E #7E342D #7E5C2D
triadic
#7E342D #2D7E34 #342D7E
tetradic
#7E342D #4E7E2D #2D777E #5C2D7E
square
#7E342D #4E7E2D #2D777E #5C2D7E
split-complementary
#7E342D #2D7E5C #2D4E7E
monochromatic
#240F0D #51211D #7E342D #AB473D #C6685F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E342D#FFFFFF#000000##FFFFFF
##7E342D1.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)
#47412C
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#8A2633
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e342d;
/* rgb */ color: rgb(126, 52, 45);
/* oklch */ color: oklch(42.6% 0.104 27.7);
Tailwind
colors: {
  custom: {
    50: '#a86e66',
    500: '#7e342d',
    950: '#000000',
  },
}
SCSS
$custom: #7e342d;
$custom-light: #a86e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e342d",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 5.185,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.10447,
    "h": 27.7
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#7E342D
secondary
#5AA5AC
accent
#CBD751
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E342D

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

Preview Lab → · Contrast checker → · Palette generator →

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