#7E1E2E#7E1E2E

#7E1E2E is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.130 H 16.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7E1E2E
RGBrgb(126, 30, 46)
HSLhsl(350, 62%, 31%)
HSVhsv(350, 76%, 49%)
CMYKcmyk(0%, 76.2%, 63.5%, 50.6%)
CIE-LABlab(28.28, 41.68, 14.92)
CIE-LCHlch(28.28, 44.27, 19.70°)
OKLaboklab(39.8% 0.1247 0.0363)
OKLCHoklch(39.8% 0.13 16.2)
XYZxyz(9.5626, 5.5628, 3.1544)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E2E #1E7E6E
analogous
#7E1E5E #7E1E2E #7E3E1E
triadic
#7E1E2E #2E7E1E #1E2E7E
tetradic
#7E1E2E #5E7E1E #1E7E6E #3E1E7E
square
#7E1E2E #5E7E1E #1E7E6E #3E1E7E
split-complementary
#7E1E2E #1E7E3E #1E5E7E
monochromatic
#1B060A #4D121C #7E1E2E #AF2A40 #D2445C

Accessibility & contrast

On white

9.94
#7E1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E2E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E2E#FFFFFF#000000##FFFFFF
##7E1E2E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e2e;
/* rgb */ color: rgb(126, 30, 46);
/* oklch */ color: oklch(39.8% 0.130 16.2);
Tailwind
colors: {
  custom: {
    50: '#a96266',
    500: '#7e1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e2e;
$custom-light: #a96266;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e2e",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 350,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.12987,
    "h": 16.2
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#7E1E2E
secondary
#47B19F
accent
#E5CA43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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