#7E1113#7E1113

#7E1113 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.143 H 26.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#7E1113
RGBrgb(126, 17, 19)
HSLhsl(359, 76%, 28%)
HSVhsv(359, 87%, 49%)
CMYKcmyk(0%, 86.5%, 84.9%, 50.6%)
CIE-LABlab(26.40, 44.47, 30.02)
CIE-LCHlch(26.40, 53.65, 34.02°)
OKLaboklab(38.28% 0.1274 0.0639)
OKLCHoklch(38.28% 0.143 26.6)
XYZxyz(8.9233, 4.8850, 1.0890)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1113 #117E7C
analogous
#7E1149 #7E1113 #7E4511
triadic
#7E1113 #137E11 #11137E
tetradic
#7E1113 #497E11 #117E7C #45117E
square
#7E1113 #497E11 #117E7C #45117E
split-complementary
#7E1113 #117E45 #11497E
monochromatic
#1B0404 #480A0B #7E1113 #B4181B #E2272B

Accessibility & contrast

On white

10.62
#7E1113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1113
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1113#FFFFFF#000000##FFFFFF
##7E11131.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F11
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#8C0014
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7e1113;
/* rgb */ color: rgb(126, 17, 19);
/* oklch */ color: oklch(38.3% 0.143 26.6);
Tailwind
colors: {
  custom: {
    50: '#ac5d51',
    500: '#7e1113',
    950: '#000000',
  },
}
SCSS
$custom: #7e1113;
$custom-light: #ac5d51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1113",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 19
  },
  "hsl": {
    "h": 358.899,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.14252,
    "h": 26.6
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#7E1113
secondary
#37B4B2
accent
#F3EF35
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1113

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

Preview Lab → · Contrast checker → · Palette generator →

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