#7E2311#7E2311

#7E2311 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.128 H 33.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7E2311
RGBrgb(126, 35, 17)
HSLhsl(10, 76%, 28%)
HSVhsv(10, 87%, 49%)
CMYKcmyk(0%, 72.2%, 86.5%, 50.6%)
CIE-LABlab(28.59, 38.27, 33.17)
CIE-LCHlch(28.59, 50.64, 40.92°)
OKLaboklab(39.9% 0.1076 0.0701)
OKLCHoklch(39.9% 0.128 33.1)
XYZxyz(9.3075, 5.6796, 1.1364)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2311 #116C7E
analogous
#7E1136 #7E2311 #7E5911
triadic
#7E2311 #117E23 #23117E
tetradic
#7E2311 #367E11 #116C7E #59117E
square
#7E2311 #367E11 #116C7E #59117E
split-complementary
#7E2311 #117E59 #11367E
monochromatic
#1B0704 #48140A #7E2311 #B43218 #E24627

Accessibility & contrast

On white

9.83
#7E2311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2311
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2311#FFFFFF#000000##FFFFFF
##7E23111.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370E
Deuteranopia (green-blind)
#554B0C
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2311;
/* rgb */ color: rgb(126, 35, 17);
/* oklch */ color: oklch(39.9% 0.128 33.1);
Tailwind
colors: {
  custom: {
    50: '#ab6451',
    500: '#7e2311',
    950: '#000000',
  },
}
SCSS
$custom: #7e2311;
$custom-light: #ab6451;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2311",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 17
  },
  "hsl": {
    "h": 9.908,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.399,
    "c": 0.12843,
    "h": 33.1
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#7E2311
secondary
#379FB4
accent
#D3F335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2311

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

Preview Lab → · Contrast checker → · Palette generator →

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