#7E1122#7E1122

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

Color values

HEX#7E1122
RGBrgb(126, 17, 34)
HSLhsl(351, 76%, 28%)
HSVhsv(351, 87%, 49%)
CMYKcmyk(0%, 86.5%, 73%, 50.6%)
CIE-LABlab(26.60, 45.06, 20.77)
CIE-LCHlch(26.60, 49.62, 24.74°)
OKLaboklab(38.49% 0.1328 0.048)
OKLCHoklch(38.49% 0.141 19.9)
XYZxyz(9.0944, 4.9535, 1.9903)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1122 #117E6D
analogous
#7E1158 #7E1122 #7E3611
triadic
#7E1122 #227E11 #11227E
tetradic
#7E1122 #587E11 #117E6D #36117E
square
#7E1122 #587E11 #117E6D #36117E
split-complementary
#7E1122 #117E36 #11587E
monochromatic
#1B0407 #480A13 #7E1122 #B41831 #E22745

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1122#FFFFFF#000000##FFFFFF
##7E11221.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)
#343022
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1122;
/* rgb */ color: rgb(126, 17, 34);
/* oklch */ color: oklch(38.5% 0.141 19.9);
Tailwind
colors: {
  custom: {
    50: '#ab5d5c',
    500: '#7e1122',
    950: '#000000',
  },
}
SCSS
$custom: #7e1122;
$custom-light: #ab5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1122",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 350.642,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.14124,
    "h": 19.9
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#7E1122
secondary
#37B4A1
accent
#F3D535
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1122

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

Preview Lab → · Contrast checker → · Palette generator →

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