#7E4E42#7E4E42

#7E4E42 is a mid, moderate red. Relative luminance 0.103; OKLCH L 47.6% C 0.068 H 34.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7E4E42
RGBrgb(126, 78, 66)
HSLhsl(12, 31%, 38%)
HSVhsv(12, 48%, 49%)
CMYKcmyk(0%, 38.1%, 47.6%, 50.6%)
CIE-LABlab(38.34, 18.78, 15.57)
CIE-LCHlch(38.34, 24.39, 39.66°)
OKLaboklab(47.55% 0.0561 0.0389)
OKLCHoklch(47.55% 0.068 34.8)
XYZxyz(12.3126, 10.2788, 6.4887)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E42 #42727E
analogous
#7E4254 #7E4E42 #7E6C42
triadic
#7E4E42 #427E4E #4E427E
tetradic
#7E4E42 #547E42 #42727E #6C427E
square
#7E4E42 #547E42 #42727E #6C427E
split-complementary
#7E4E42 #427E6C #42547E
monochromatic
#2E1C18 #56352D #7E4E42 #A66757 #BC8B7F

Accessibility & contrast

On white

6.87
#7E4E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7E4E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E42
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E42#FFFFFF#000000##FFFFFF
##7E4E421.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#655E41
Tritanopia (blue-blind)
#88474B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e4e42;
/* rgb */ color: rgb(126, 78, 66);
/* oklch */ color: oklch(47.6% 0.068 34.8);
Tailwind
colors: {
  custom: {
    50: '#a68076',
    500: '#7e4e42',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e42;
$custom-light: #a68076;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e42",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 12,
    "s": 31.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.06828,
    "h": 34.8
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#7E4E42
secondary
#759DA7
accent
#B3C760
background
#FAF7F7
surface
#F4EEED
border
#CEC9C8
text
#100A08
muted
#7F7C7B

Preview Lab

Preview with #7E4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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