#7E2912#7E2912

#7E2912 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.6% C 0.123 H 35.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E2912
RGBrgb(126, 41, 18)
HSLhsl(13, 75%, 28%)
HSVhsv(13, 86%, 49%)
CMYKcmyk(0%, 67.5%, 85.7%, 50.6%)
CIE-LABlab(29.58, 35.64, 33.56)
CIE-LCHlch(29.58, 48.95, 43.28°)
OKLaboklab(40.65% 0.0997 0.0714)
OKLCHoklch(40.65% 0.123 35.6)
XYZxyz(9.5074, 6.0666, 1.2425)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2912 #12677E
analogous
#7E1231 #7E2912 #7E5F12
triadic
#7E2912 #127E29 #29127E
tetradic
#7E2912 #317E12 #12677E #5F127E
square
#7E2912 #317E12 #12677E #5F127E
split-complementary
#7E2912 #127E5F #12317E
monochromatic
#1B0904 #48180A #7E2912 #B43A1A #E1512A

Accessibility & contrast

On white

9.49
#7E2912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2912
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2912#FFFFFF#000000##FFFFFF
##7E29121.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8B1025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2912;
/* rgb */ color: rgb(126, 41, 18);
/* oklch */ color: oklch(40.6% 0.123 35.6);
Tailwind
colors: {
  custom: {
    50: '#ab6752',
    500: '#7e2912',
    950: '#000000',
  },
}
SCSS
$custom: #7e2912;
$custom-light: #ab6752;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2912",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 18
  },
  "hsl": {
    "h": 12.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40647,
    "c": 0.12258,
    "h": 35.6
  },
  "luminance": 0.06065
}

Semantic roles & 50–950 ramp

primary
#7E2912
secondary
#3899B4
accent
#CAF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2912

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

Preview Lab → · Contrast checker → · Palette generator →

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