#7E1314#7E1314

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

Color values

HEX#7E1314
RGBrgb(126, 19, 20)
HSLhsl(359, 74%, 28%)
HSVhsv(359, 85%, 49%)
CMYKcmyk(0%, 84.9%, 84.1%, 50.6%)
CIE-LABlab(26.60, 43.97, 29.62)
CIE-LCHlch(26.60, 53.02, 33.97°)
OKLaboklab(38.43% 0.126 0.0634)
OKLCHoklch(38.43% 0.141 26.7)
XYZxyz(8.9644, 4.9533, 1.1458)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1314 #137E7D
analogous
#7E1349 #7E1314 #7E4713
triadic
#7E1314 #147E13 #13147E
tetradic
#7E1314 #497E13 #137E7D #47137E
square
#7E1314 #497E13 #137E7D #47137E
split-complementary
#7E1314 #137E47 #13497E
monochromatic
#1B0404 #490B0C #7E1314 #B31B1C #DF2C2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1314#FFFFFF#000000##FFFFFF
##7E13141.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)
#363012
Deuteranopia (green-blind)
#50470F
Tritanopia (blue-blind)
#8B0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1314;
/* rgb */ color: rgb(126, 19, 20);
/* oklch */ color: oklch(38.4% 0.141 26.7);
Tailwind
colors: {
  custom: {
    50: '#ac5d52',
    500: '#7e1314',
    950: '#000000',
  },
}
SCSS
$custom: #7e1314;
$custom-light: #ac5d52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1314",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 20
  },
  "hsl": {
    "h": 359.439,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38426,
    "c": 0.14109,
    "h": 26.7
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#7E1314
secondary
#39B4B2
accent
#F0EF37
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1314

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

Preview Lab → · Contrast checker → · Palette generator →

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