#7E4142#7E4142

#7E4142 is a mid, moderate red. Relative luminance 0.086; OKLCH L 45.2% C 0.084 H 19.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7E4142
RGBrgb(126, 65, 66)
HSLhsl(359, 32%, 37%)
HSVhsv(359, 48%, 49%)
CMYKcmyk(0%, 48.4%, 47.6%, 50.6%)
CIE-LABlab(35.22, 26.35, 11.33)
CIE-LCHlch(35.22, 28.69, 23.26°)
OKLaboklab(45.17% 0.0793 0.0288)
OKLCHoklch(45.17% 0.084 19.9)
XYZxyz(11.4786, 8.6107, 6.2107)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4142 #417E7D
analogous
#7E4161 #7E4142 #7E5E41
triadic
#7E4142 #427E41 #41427E
tetradic
#7E4142 #617E41 #417E7D #5E417E
square
#7E4142 #617E41 #417E7D #5E417E
split-complementary
#7E4142 #417E5E #41617E
monochromatic
#2D1718 #562C2D #7E4142 #A65657 #BC7D7E

Accessibility & contrast

On white

7.71
#7E4142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7E4142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4142
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4142#FFFFFF#000000##FFFFFF
##7E41421.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#5D5841
Tritanopia (blue-blind)
#883942
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e4142;
/* rgb */ color: rgb(126, 65, 66);
/* oklch */ color: oklch(45.2% 0.084 19.9);
Tailwind
colors: {
  custom: {
    50: '#a67776',
    500: '#7e4142',
    950: '#000000',
  },
}
SCSS
$custom: #7e4142;
$custom-light: #a67776;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4142",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 359.016,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.08435,
    "h": 19.9
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#7E4142
secondary
#74A7A6
accent
#C8C660
background
#FAF7F7
surface
#F4EDED
border
#CEC8C8
text
#100908
muted
#7F7B7B

Preview Lab

Preview with #7E4142

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

Preview Lab → · Contrast checker → · Palette generator →

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