#7E1313#7E1313

#7E1313 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 27.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#7E1313
RGBrgb(126, 19, 19)
HSLhsl(0, 74%, 28%)
HSVhsv(0, 85%, 49%)
CMYKcmyk(0%, 84.9%, 84.9%, 50.6%)
CIE-LABlab(26.59, 43.94, 30.20)
CIE-LCHlch(26.59, 53.32, 34.50°)
OKLaboklab(38.42% 0.1257 0.0643)
OKLCHoklch(38.42% 0.141 27.1)
XYZxyz(8.9557, 4.9499, 1.0998)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1313 #137E7E
analogous
#7E1348 #7E1313 #7E4813
triadic
#7E1313 #137E13 #13137E
tetradic
#7E1313 #487E13 #137E7E #48137E
square
#7E1313 #487E13 #137E7E #48137E
split-complementary
#7E1313 #137E48 #13487E
monochromatic
#1B0404 #490B0B #7E1313 #B31B1B #DF2C2C

Accessibility & contrast

On white

10.55
#7E1313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E1313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1313
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1313#FFFFFF#000000##FFFFFF
##7E13131.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363011
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#8C0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1313;
/* rgb */ color: rgb(126, 19, 19);
/* oklch */ color: oklch(38.4% 0.141 27.1);
Tailwind
colors: {
  custom: {
    50: '#ac5d51',
    500: '#7e1313',
    950: '#000000',
  },
}
SCSS
$custom: #7e1313;
$custom-light: #ac5d51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1313",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.14121,
    "h": 27.1
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#7E1313
secondary
#39B4B4
accent
#F0F037
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1313

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

Preview Lab → · Contrast checker → · Palette generator →

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