#7E2D18#7E2D18

#7E2D18 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.117 H 35.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7E2D18
RGBrgb(126, 45, 24)
HSLhsl(12, 68%, 29%)
HSVhsv(12, 81%, 49%)
CMYKcmyk(0%, 64.3%, 81%, 50.6%)
CIE-LABlab(30.35, 33.94, 31.09)
CIE-LCHlch(30.35, 46.03, 42.49°)
OKLaboklab(41.25% 0.0956 0.068)
OKLCHoklch(41.25% 0.117 35.4)
XYZxyz(9.7085, 6.3797, 1.5842)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D18 #18697E
analogous
#7E1836 #7E2D18 #7E6018
triadic
#7E2D18 #187E2D #2D187E
tetradic
#7E2D18 #367E18 #18697E #60187E
square
#7E2D18 #367E18 #18697E #60187E
split-complementary
#7E2D18 #187E60 #18367E
monochromatic
#1A0905 #4B1B0E #7E2D18 #B13F22 #D95937

Accessibility & contrast

On white

9.23
#7E2D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D18
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D18#FFFFFF#000000##FFFFFF
##7E2D181.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#8B1829
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2d18;
/* rgb */ color: rgb(126, 45, 24);
/* oklch */ color: oklch(41.2% 0.117 35.4);
Tailwind
colors: {
  custom: {
    50: '#aa6a56',
    500: '#7e2d18',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d18;
$custom-light: #aa6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d18",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 12.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.1173,
    "h": 35.4
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#7E2D18
secondary
#3F9BB2
accent
#C7EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2D18

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

Preview Lab → · Contrast checker → · Palette generator →

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