#7E2E18#7E2E18

#7E2E18 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.116 H 36.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E2E18
RGBrgb(126, 46, 24)
HSLhsl(13, 68%, 29%)
HSVhsv(13, 81%, 49%)
CMYKcmyk(0%, 63.5%, 81%, 50.6%)
CIE-LABlab(30.54, 33.44, 31.28)
CIE-LCHlch(30.54, 45.79, 43.08°)
OKLaboklab(41.39% 0.094 0.0684)
OKLCHoklch(41.39% 0.116 36)
XYZxyz(9.7471, 6.4569, 1.5970)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E18 #18687E
analogous
#7E1835 #7E2E18 #7E6118
triadic
#7E2E18 #187E2E #2E187E
tetradic
#7E2E18 #357E18 #18687E #61187E
square
#7E2E18 #357E18 #18687E #61187E
split-complementary
#7E2E18 #187E61 #18357E
monochromatic
#1A0905 #4B1B0E #7E2E18 #B14122 #D95A37

Accessibility & contrast

On white

9.17
#7E2E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E18
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E18#FFFFFF#000000##FFFFFF
##7E2E181.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#8B1A29
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e18;
/* rgb */ color: rgb(126, 46, 24);
/* oklch */ color: oklch(41.4% 0.116 36.0);
Tailwind
colors: {
  custom: {
    50: '#aa6a56',
    500: '#7e2e18',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e18;
$custom-light: #aa6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e18",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 24
  },
  "hsl": {
    "h": 12.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.1163,
    "h": 36
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#7E2E18
secondary
#3F9AB2
accent
#C5EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2E18

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

Preview Lab → · Contrast checker → · Palette generator →

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