#7E1913#7E1913

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

Color values

HEX#7E1913
RGBrgb(126, 25, 19)
HSLhsl(3, 74%, 28%)
HSVhsv(3, 85%, 49%)
CMYKcmyk(0%, 80.2%, 84.9%, 50.6%)
CIE-LABlab(27.24, 42.11, 30.82)
CIE-LCHlch(27.24, 52.19, 36.20°)
OKLaboklab(38.9% 0.12 0.0657)
OKLCHoklch(38.9% 0.137 28.7)
XYZxyz(9.0705, 5.1794, 1.1381)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1913 #13787E
analogous
#7E1343 #7E1913 #7E4E13
triadic
#7E1913 #137E19 #19137E
tetradic
#7E1913 #437E13 #13787E #4E137E
square
#7E1913 #437E13 #13787E #4E137E
split-complementary
#7E1913 #137E4E #13437E
monochromatic
#1B0504 #490E0B #7E1913 #B3241B #DF362C

Accessibility & contrast

On white

10.32
#7E1913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1913
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1913#FFFFFF#000000##FFFFFF
##7E19131.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393211
Deuteranopia (green-blind)
#52480E
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1913;
/* rgb */ color: rgb(126, 25, 19);
/* oklch */ color: oklch(38.9% 0.137 28.7);
Tailwind
colors: {
  custom: {
    50: '#ac6052',
    500: '#7e1913',
    950: '#000000',
  },
}
SCSS
$custom: #7e1913;
$custom-light: #ac6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1913",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 19
  },
  "hsl": {
    "h": 3.364,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.13679,
    "h": 28.7
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#7E1913
secondary
#39ADB4
accent
#E6F037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1913

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

Preview Lab → · Contrast checker → · Palette generator →

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