#7E1317#7E1317

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

Color values

HEX#7E1317
RGBrgb(126, 19, 23)
HSLhsl(358, 74%, 28%)
HSVhsv(358, 85%, 49%)
CMYKcmyk(0%, 84.9%, 81.7%, 50.6%)
CIE-LABlab(26.63, 44.07, 27.85)
CIE-LCHlch(26.63, 52.13, 32.29°)
OKLaboklab(38.46% 0.127 0.0606)
OKLCHoklch(38.46% 0.141 25.5)
XYZxyz(8.9928, 4.9647, 1.2952)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1317 #137E7A
analogous
#7E134C #7E1317 #7E4413
triadic
#7E1317 #177E13 #13177E
tetradic
#7E1317 #4C7E13 #137E7A #44137E
square
#7E1317 #4C7E13 #137E7A #44137E
split-complementary
#7E1317 #137E44 #134C7E
monochromatic
#1B0405 #490B0D #7E1317 #B31B21 #DF2C33

Accessibility & contrast

On white

10.54
#7E1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1317
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1317#FFFFFF#000000##FFFFFF
##7E13171.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363016
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1317;
/* rgb */ color: rgb(126, 19, 23);
/* oklch */ color: oklch(38.5% 0.141 25.5);
Tailwind
colors: {
  custom: {
    50: '#ac5d54',
    500: '#7e1317',
    950: '#000000',
  },
}
SCSS
$custom: #7e1317;
$custom-light: #ac5d54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1317",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 357.757,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38461,
    "c": 0.14075,
    "h": 25.5
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#7E1317
secondary
#39B4AF
accent
#F0EA37
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7E1317

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

Preview Lab → · Contrast checker → · Palette generator →

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