#7E2612#7E2612

#7E2612 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.125 H 34.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7E2612
RGBrgb(126, 38, 18)
HSLhsl(11, 75%, 28%)
HSVhsv(11, 86%, 49%)
CMYKcmyk(0%, 69.8%, 85.7%, 50.6%)
CIE-LABlab(29.07, 37.00, 33.09)
CIE-LCHlch(29.07, 49.64, 41.81°)
OKLaboklab(40.27% 0.1039 0.0703)
OKLCHoklch(40.27% 0.125 34.1)
XYZxyz(9.4076, 5.8669, 1.2092)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2612 #126A7E
analogous
#7E1234 #7E2612 #7E5C12
triadic
#7E2612 #127E26 #26127E
tetradic
#7E2612 #347E12 #126A7E #5C127E
square
#7E2612 #347E12 #126A7E #5C127E
split-complementary
#7E2612 #127E5C #12347E
monochromatic
#1B0804 #48160A #7E2612 #B4361A #E14C2A

Accessibility & contrast

On white

9.66
#7E2612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E2612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2612
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2612#FFFFFF#000000##FFFFFF
##7E26121.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380F
Deuteranopia (green-blind)
#554C0E
Tritanopia (blue-blind)
#8B0822
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2612;
/* rgb */ color: rgb(126, 38, 18);
/* oklch */ color: oklch(40.3% 0.125 34.1);
Tailwind
colors: {
  custom: {
    50: '#ab6652',
    500: '#7e2612',
    950: '#000000',
  },
}
SCSS
$custom: #7e2612;
$custom-light: #ab6652;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2612",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 18
  },
  "hsl": {
    "h": 11.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.12544,
    "h": 34.1
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#7E2612
secondary
#389DB4
accent
#CFF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2612

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

Preview Lab → · Contrast checker → · Palette generator →

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