#7E1E12#7E1E12

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

Color values

HEX#7E1E12
RGBrgb(126, 30, 18)
HSLhsl(7, 75%, 28%)
HSVhsv(7, 86%, 49%)
CMYKcmyk(0%, 76.2%, 85.7%, 50.6%)
CIE-LABlab(27.87, 40.30, 31.98)
CIE-LCHlch(27.87, 51.44, 38.43°)
OKLaboklab(39.37% 0.1141 0.0678)
OKLCHoklch(39.37% 0.133 30.7)
XYZxyz(9.1787, 5.4093, 1.1329)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E12 #12727E
analogous
#7E123C #7E1E12 #7E5412
triadic
#7E1E12 #127E1E #1E127E
tetradic
#7E1E12 #3C7E12 #12727E #54127E
square
#7E1E12 #3C7E12 #12727E #54127E
split-complementary
#7E1E12 #127E54 #123C7E
monochromatic
#1B0604 #48110A #7E1E12 #B42B1A #E13E2A

Accessibility & contrast

On white

10.09
#7E1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E12
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E12#FFFFFF#000000##FFFFFF
##7E1E121.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e12;
/* rgb */ color: rgb(126, 30, 18);
/* oklch */ color: oklch(39.4% 0.133 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6251',
    500: '#7e1e12',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e12;
$custom-light: #ac6251;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e12",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 6.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.13276,
    "h": 30.7
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#7E1E12
secondary
#38A6B4
accent
#DDF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1E12

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

Preview Lab → · Contrast checker → · Palette generator →

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