#7E2B1E#7E2B1E

#7E2B1E is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.118 H 31.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7E2B1E
RGBrgb(126, 43, 30)
HSLhsl(8, 62%, 31%)
HSVhsv(8, 76%, 49%)
CMYKcmyk(0%, 65.9%, 76.2%, 50.6%)
CIE-LABlab(30.06, 35.17, 27.30)
CIE-LCHlch(30.06, 44.52, 37.82°)
OKLaboklab(41.04% 0.1006 0.0615)
OKLCHoklch(41.04% 0.118 31.4)
XYZxyz(9.7034, 6.2585, 1.9251)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B1E #1E717E
analogous
#7E1E41 #7E2B1E #7E5B1E
triadic
#7E2B1E #1E7E2B #2B1E7E
tetradic
#7E2B1E #417E1E #1E717E #5B1E7E
square
#7E2B1E #417E1E #1E717E #5B1E7E
split-complementary
#7E2B1E #1E7E5B #1E417E
monochromatic
#1B0906 #4D1A12 #7E2B1E #AF3C2A #D25744

Accessibility & contrast

On white

9.33
#7E2B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B1E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B1E#FFFFFF#000000##FFFFFF
##7E2B1E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8B1628
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b1e;
/* rgb */ color: rgb(126, 43, 30);
/* oklch */ color: oklch(41.0% 0.118 31.4);
Tailwind
colors: {
  custom: {
    50: '#aa695a',
    500: '#7e2b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b1e;
$custom-light: #aa695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b1e",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 30
  },
  "hsl": {
    "h": 8.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41044,
    "c": 0.11791,
    "h": 31.4
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#7E2B1E
secondary
#47A3B1
accent
#CFE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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