#7E1211#7E1211

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

Color values

HEX#7E1211
RGBrgb(126, 18, 17)
HSLhsl(1, 76%, 28%)
HSVhsv(1, 87%, 49%)
CMYKcmyk(0%, 85.7%, 86.5%, 50.6%)
CIE-LABlab(26.48, 44.15, 31.24)
CIE-LCHlch(26.48, 54.09, 35.28°)
OKLaboklab(38.32% 0.126 0.0657)
OKLCHoklch(38.32% 0.142 27.6)
XYZxyz(8.9228, 4.9102, 1.0082)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1211 #117D7E
analogous
#7E1147 #7E1211 #7E4811
triadic
#7E1211 #117E12 #12117E
tetradic
#7E1211 #477E11 #117D7E #48117E
square
#7E1211 #477E11 #117D7E #48117E
split-complementary
#7E1211 #117E48 #11477E
monochromatic
#1B0404 #480A0A #7E1211 #B41A18 #E22927

Accessibility & contrast

On white

10.60
#7E1211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1211
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1211#FFFFFF#000000##FFFFFF
##7E12111.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#50470B
Tritanopia (blue-blind)
#8C0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1211;
/* rgb */ color: rgb(126, 18, 17);
/* oklch */ color: oklch(38.3% 0.142 27.6);
Tailwind
colors: {
  custom: {
    50: '#ac5d50',
    500: '#7e1211',
    950: '#000000',
  },
}
SCSS
$custom: #7e1211;
$custom-light: #ac5d50;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1211",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 17
  },
  "hsl": {
    "h": 0.55,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.1421,
    "h": 27.6
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#7E1211
secondary
#37B3B4
accent
#F1F335
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1211

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

Preview Lab → · Contrast checker → · Palette generator →

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