#7E1E0F#7E1E0F

#7E1E0F is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 31.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7E1E0F
RGBrgb(126, 30, 15)
HSLhsl(8, 79%, 28%)
HSVhsv(8, 88%, 49%)
CMYKcmyk(0%, 76.2%, 88.1%, 50.6%)
CIE-LABlab(27.85, 40.21, 33.54)
CIE-LCHlch(27.85, 52.37, 39.83°)
OKLaboklab(39.34% 0.1133 0.0701)
OKLCHoklch(39.34% 0.133 31.7)
XYZxyz(9.1558, 5.4001, 1.0121)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E0F #0F6F7E
analogous
#7E0F38 #7E1E0F #7E550F
triadic
#7E1E0F #0F7E1E #1E0F7E
tetradic
#7E1E0F #387E0F #0F6F7E #550F7E
square
#7E1E0F #387E0F #0F6F7E #550F7E
split-complementary
#7E1E0F #0F7E55 #0F387E
monochromatic
#1B0703 #471108 #7E1E0F #B52B16 #E53D23

Accessibility & contrast

On white

10.10
#7E1E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E0F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E0F#FFFFFF#000000##FFFFFF
##7E1E0F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340C
Deuteranopia (green-blind)
#534909
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e0f;
/* rgb */ color: rgb(126, 30, 15);
/* oklch */ color: oklch(39.3% 0.133 31.7);
Tailwind
colors: {
  custom: {
    50: '#ac624f',
    500: '#7e1e0f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e0f;
$custom-light: #ac624f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e0f",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 15
  },
  "hsl": {
    "h": 8.108,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.13322,
    "h": 31.7
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#7E1E0F
secondary
#34A3B5
accent
#DBF533
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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