#7E2A1E#7E2A1E

#7E2A1E is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 30.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E2A1E
RGBrgb(126, 42, 30)
HSLhsl(8, 62%, 31%)
HSVhsv(8, 76%, 49%)
CMYKcmyk(0%, 66.7%, 76.2%, 50.6%)
CIE-LABlab(29.88, 35.64, 27.11)
CIE-LCHlch(29.88, 44.78, 37.25°)
OKLaboklab(40.91% 0.1021 0.061)
OKLCHoklch(40.91% 0.119 30.9)
XYZxyz(9.6675, 6.1867, 1.9131)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A1E #1E727E
analogous
#7E1E42 #7E2A1E #7E5A1E
triadic
#7E2A1E #1E7E2A #2A1E7E
tetradic
#7E2A1E #427E1E #1E727E #5A1E7E
square
#7E2A1E #427E1E #1E727E #5A1E7E
split-complementary
#7E2A1E #1E7E5A #1E427E
monochromatic
#1B0906 #4D1A12 #7E2A1E #AF3A2A #D25644

Accessibility & contrast

On white

9.39
#7E2A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A1E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A1E#FFFFFF#000000##FFFFFF
##7E2A1E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1C
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#8B1428
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a1e;
/* rgb */ color: rgb(126, 42, 30);
/* oklch */ color: oklch(40.9% 0.119 30.9);
Tailwind
colors: {
  custom: {
    50: '#aa685a',
    500: '#7e2a1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a1e;
$custom-light: #aa685a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a1e",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 30
  },
  "hsl": {
    "h": 7.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.11895,
    "h": 30.9
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#7E2A1E
secondary
#47A4B1
accent
#D0E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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