#7E1713#7E1713

#7E1713 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 28.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1713
RGBrgb(126, 23, 19)
HSLhsl(2, 74%, 28%)
HSVhsv(2, 85%, 49%)
CMYKcmyk(0%, 81.7%, 84.9%, 50.6%)
CIE-LABlab(27.01, 42.76, 30.60)
CIE-LCHlch(27.01, 52.58, 35.59°)
OKLaboklab(38.73% 0.122 0.0652)
OKLCHoklch(38.73% 0.138 28.1)
XYZxyz(9.0292, 5.0969, 1.1243)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1713 #137A7E
analogous
#7E1344 #7E1713 #7E4C13
triadic
#7E1713 #137E17 #17137E
tetradic
#7E1713 #447E13 #137A7E #4C137E
square
#7E1713 #447E13 #137A7E #4C137E
split-complementary
#7E1713 #137E4C #13447E
monochromatic
#1B0504 #490D0B #7E1713 #B3211B #DF332C

Accessibility & contrast

On white

10.40
#7E1713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1713
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1713#FFFFFF#000000##FFFFFF
##7E17131.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383111
Deuteranopia (green-blind)
#51480E
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1713;
/* rgb */ color: rgb(126, 23, 19);
/* oklch */ color: oklch(38.7% 0.138 28.1);
Tailwind
colors: {
  custom: {
    50: '#ac5f52',
    500: '#7e1713',
    950: '#000000',
  },
}
SCSS
$custom: #7e1713;
$custom-light: #ac5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1713",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 19
  },
  "hsl": {
    "h": 2.243,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38726,
    "c": 0.13834,
    "h": 28.1
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#7E1713
secondary
#39AFB4
accent
#EAF037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1713

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

Preview Lab → · Contrast checker → · Palette generator →

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