#7E1F10#7E1F10

#7E1F10 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.132 H 31.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7E1F10
RGBrgb(126, 31, 16)
HSLhsl(8, 77%, 28%)
HSVhsv(8, 87%, 49%)
CMYKcmyk(0%, 75.4%, 87.3%, 50.6%)
CIE-LABlab(27.99, 39.86, 33.16)
CIE-LCHlch(27.99, 51.85, 39.75°)
OKLaboklab(39.45% 0.1124 0.0696)
OKLCHoklch(39.45% 0.132 31.8)
XYZxyz(9.1888, 5.4544, 1.0591)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F10 #106F7E
analogous
#7E1038 #7E1F10 #7E5610
triadic
#7E1F10 #107E1F #1F107E
tetradic
#7E1F10 #387E10 #106F7E #56107E
square
#7E1F10 #387E10 #106F7E #56107E
split-complementary
#7E1F10 #107E56 #10387E
monochromatic
#1B0703 #481209 #7E1F10 #B42C17 #E33F25

Accessibility & contrast

On white

10.04
#7E1F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F10
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F10#FFFFFF#000000##FFFFFF
##7E1F101.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350D
Deuteranopia (green-blind)
#534A0A
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1f10;
/* rgb */ color: rgb(126, 31, 16);
/* oklch */ color: oklch(39.5% 0.132 31.8);
Tailwind
colors: {
  custom: {
    50: '#ac6250',
    500: '#7e1f10',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f10;
$custom-light: #ac6250;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f10",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 16
  },
  "hsl": {
    "h": 8.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.13219,
    "h": 31.8
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#7E1F10
secondary
#36A3B4
accent
#DAF434
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1F10

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

Preview Lab → · Contrast checker → · Palette generator →

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