#7E1A0E#7E1A0E

#7E1A0E is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 30.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7E1A0E
RGBrgb(126, 26, 14)
HSLhsl(6, 80%, 27%)
HSVhsv(6, 89%, 49%)
CMYKcmyk(0%, 79.4%, 88.9%, 50.6%)
CIE-LABlab(27.32, 41.64, 33.60)
CIE-LCHlch(27.32, 53.50, 38.90°)
OKLaboklab(38.94% 0.1175 0.0697)
OKLCHoklch(38.94% 0.137 30.7)
XYZxyz(9.0540, 5.2076, 0.9438)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A0E #0E727E
analogous
#7E0E3A #7E1A0E #7E520E
triadic
#7E1A0E #0E7E1A #1A0E7E
tetradic
#7E1A0E #3A7E0E #0E727E #520E7E
square
#7E1A0E #3A7E0E #0E727E #520E7E
split-complementary
#7E1A0E #0E7E52 #0E3A7E
monochromatic
#1C0603 #470F08 #7E1A0E #B52514 #E63520

Accessibility & contrast

On white

10.29
#7E1A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A0E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A0E#FFFFFF#000000##FFFFFF
##7E1A0E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A320B
Deuteranopia (green-blind)
#524807
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1a0e;
/* rgb */ color: rgb(126, 26, 14);
/* oklch */ color: oklch(38.9% 0.137 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac604e',
    500: '#7e1a0e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a0e;
$custom-light: #ac604e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a0e",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 14
  },
  "hsl": {
    "h": 6.429,
    "s": 80,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.13667,
    "h": 30.7
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#7E1A0E
secondary
#33A7B5
accent
#E1F631
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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