#7E1513#7E1513

#7E1513 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 27.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7E1513
RGBrgb(126, 21, 19)
HSLhsl(1, 74%, 28%)
HSVhsv(1, 85%, 49%)
CMYKcmyk(0%, 83.3%, 84.9%, 50.6%)
CIE-LABlab(26.79, 43.37, 30.39)
CIE-LCHlch(26.79, 52.96, 35.02°)
OKLaboklab(38.57% 0.1239 0.0647)
OKLCHoklch(38.57% 0.14 27.6)
XYZxyz(8.9910, 5.0204, 1.1116)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1513 #137C7E
analogous
#7E1346 #7E1513 #7E4A13
triadic
#7E1513 #137E15 #15137E
tetradic
#7E1513 #467E13 #137C7E #4A137E
square
#7E1513 #467E13 #137C7E #4A137E
split-complementary
#7E1513 #137E4A #13467E
monochromatic
#1B0404 #490C0B #7E1513 #B31E1B #DF302C

Accessibility & contrast

On white

10.48
#7E1513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1513
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1513#FFFFFF#000000##FFFFFF
##7E15131.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373111
Deuteranopia (green-blind)
#51470D
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1513;
/* rgb */ color: rgb(126, 21, 19);
/* oklch */ color: oklch(38.6% 0.140 27.6);
Tailwind
colors: {
  custom: {
    50: '#ac5e51',
    500: '#7e1513',
    950: '#000000',
  },
}
SCSS
$custom: #7e1513;
$custom-light: #ac5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1513",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 19
  },
  "hsl": {
    "h": 1.121,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38565,
    "c": 0.13981,
    "h": 27.6
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#7E1513
secondary
#39B1B4
accent
#EDF037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1513

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

Preview Lab → · Contrast checker → · Palette generator →

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