#7E2916#7E2916

#7E2916 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.122 H 34.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7E2916
RGBrgb(126, 41, 22)
HSLhsl(11, 70%, 29%)
HSVhsv(11, 83%, 49%)
CMYKcmyk(0%, 67.5%, 82.5%, 50.6%)
CIE-LABlab(29.62, 35.77, 31.46)
CIE-LCHlch(29.62, 47.64, 41.33°)
OKLaboklab(40.69% 0.1008 0.0682)
OKLCHoklch(40.69% 0.122 34.1)
XYZxyz(9.5430, 6.0808, 1.4301)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2916 #166B7E
analogous
#7E1637 #7E2916 #7E5D16
triadic
#7E2916 #167E29 #29167E
tetradic
#7E2916 #377E16 #166B7E #5D167E
square
#7E2916 #377E16 #166B7E #5D167E
split-complementary
#7E2916 #167E5D #16377E
monochromatic
#1A0805 #4A180D #7E2916 #B23A1F #DB5233

Accessibility & contrast

On white

9.48
#7E2916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E2916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2916
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2916#FFFFFF#000000##FFFFFF
##7E29161.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A13
Deuteranopia (green-blind)
#564D12
Tritanopia (blue-blind)
#8B1125
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2916;
/* rgb */ color: rgb(126, 41, 22);
/* oklch */ color: oklch(40.7% 0.122 34.1);
Tailwind
colors: {
  custom: {
    50: '#ab6755',
    500: '#7e2916',
    950: '#000000',
  },
}
SCSS
$custom: #7e2916;
$custom-light: #ab6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2916",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 22
  },
  "hsl": {
    "h": 10.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.12173,
    "h": 34.1
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#7E2916
secondary
#3D9DB3
accent
#CCED3B
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2916

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

Preview Lab → · Contrast checker → · Palette generator →

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