#7E2C1D#7E2C1D

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

Color values

HEX#7E2C1D
RGBrgb(126, 44, 29)
HSLhsl(9, 63%, 30%)
HSVhsv(9, 77%, 49%)
CMYKcmyk(0%, 65.1%, 77%, 50.6%)
CIE-LABlab(30.22, 34.64, 28.08)
CIE-LCHlch(30.22, 44.60, 39.03°)
OKLaboklab(41.17% 0.0988 0.0629)
OKLCHoklch(41.17% 0.117 32.5)
XYZxyz(9.7277, 6.3271, 1.8712)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C1D #1D6F7E
analogous
#7E1D3F #7E2C1D #7E5C1D
triadic
#7E2C1D #1D7E2C #2C1D7E
tetradic
#7E2C1D #3F7E1D #1D6F7E #5C1D7E
square
#7E2C1D #3F7E1D #1D6F7E #5C1D7E
split-complementary
#7E2C1D #1D7E5C #1D3F7E
monochromatic
#1B0906 #4C1B12 #7E2C1D #B03D28 #D35842

Accessibility & contrast

On white

9.27
#7E2C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2C1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C1D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C1D#FFFFFF#000000##FFFFFF
##7E2C1D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#8B1829
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c1d;
/* rgb */ color: rgb(126, 44, 29);
/* oklch */ color: oklch(41.2% 0.117 32.5);
Tailwind
colors: {
  custom: {
    50: '#aa695a',
    500: '#7e2c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c1d;
$custom-light: #aa695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c1d",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 29
  },
  "hsl": {
    "h": 9.278,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.1171,
    "h": 32.5
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#7E2C1D
secondary
#45A1B1
accent
#CCE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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