#7E2811#7E2811

#7E2811 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.124 H 35.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E2811
RGBrgb(126, 40, 17)
HSLhsl(13, 76%, 28%)
HSVhsv(13, 87%, 49%)
CMYKcmyk(0%, 68.3%, 86.5%, 50.6%)
CIE-LABlab(29.40, 36.07, 33.90)
CIE-LCHlch(29.40, 49.50, 43.23°)
OKLaboklab(40.51% 0.1008 0.0717)
OKLCHoklch(40.51% 0.124 35.4)
XYZxyz(9.4652, 5.9951, 1.1890)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2811 #11677E
analogous
#7E1130 #7E2811 #7E5F11
triadic
#7E2811 #117E28 #28117E
tetradic
#7E2811 #307E11 #11677E #5F117E
square
#7E2811 #307E11 #11677E #5F117E
split-complementary
#7E2811 #117E5F #11307E
monochromatic
#1B0904 #48170A #7E2811 #B43918 #E24F27

Accessibility & contrast

On white

9.55
#7E2811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2811
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2811#FFFFFF#000000##FFFFFF
##7E28111.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#564C0D
Tritanopia (blue-blind)
#8B0E24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2811;
/* rgb */ color: rgb(126, 40, 17);
/* oklch */ color: oklch(40.5% 0.124 35.4);
Tailwind
colors: {
  custom: {
    50: '#ab6751',
    500: '#7e2811',
    950: '#000000',
  },
}
SCSS
$custom: #7e2811;
$custom-light: #ab6751;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2811",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 12.661,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.12375,
    "h": 35.4
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#7E2811
secondary
#379AB4
accent
#CBF335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2811

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

Preview Lab → · Contrast checker → · Palette generator →

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