#7E1315#7E1315

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

Color values

HEX#7E1315
RGBrgb(126, 19, 21)
HSLhsl(359, 74%, 28%)
HSVhsv(359, 85%, 49%)
CMYKcmyk(0%, 84.9%, 83.3%, 50.6%)
CIE-LABlab(26.61, 44.00, 29.04)
CIE-LCHlch(26.61, 52.72, 33.42°)
OKLaboklab(38.44% 0.1264 0.0625)
OKLCHoklch(38.44% 0.141 26.3)
XYZxyz(8.9735, 4.9570, 1.1936)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1315 #137E7C
analogous
#7E134A #7E1315 #7E4613
triadic
#7E1315 #157E13 #13157E
tetradic
#7E1315 #4A7E13 #137E7C #46137E
square
#7E1315 #4A7E13 #137E7C #46137E
split-complementary
#7E1315 #137E46 #134A7E
monochromatic
#1B0404 #490B0C #7E1315 #B31B1E #DF2C30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1315#FFFFFF#000000##FFFFFF
##7E13151.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)
#363014
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1315;
/* rgb */ color: rgb(126, 19, 21);
/* oklch */ color: oklch(38.4% 0.141 26.3);
Tailwind
colors: {
  custom: {
    50: '#ac5d53',
    500: '#7e1315',
    950: '#000000',
  },
}
SCSS
$custom: #7e1315;
$custom-light: #ac5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1315",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 358.879,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.14098,
    "h": 26.3
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#7E1315
secondary
#39B4B1
accent
#F0ED37
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1315

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

Preview Lab → · Contrast checker → · Palette generator →

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