#7E2B12#7E2B12

#7E2B12 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.121 H 36.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7E2B12
RGBrgb(126, 43, 18)
HSLhsl(14, 75%, 28%)
HSVhsv(14, 86%, 49%)
CMYKcmyk(0%, 65.9%, 85.7%, 50.6%)
CIE-LABlab(29.93, 34.69, 33.88)
CIE-LCHlch(29.93, 48.49, 44.32°)
OKLaboklab(40.91% 0.0968 0.0721)
OKLCHoklch(40.91% 0.121 36.7)
XYZxyz(9.5783, 6.2084, 1.2661)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B12 #12657E
analogous
#7E122F #7E2B12 #7E6112
triadic
#7E2B12 #127E2B #2B127E
tetradic
#7E2B12 #2F7E12 #12657E #61127E
square
#7E2B12 #2F7E12 #12657E #61127E
split-complementary
#7E2B12 #127E61 #122F7E
monochromatic
#1B0904 #48190A #7E2B12 #B43D1A #E1542A

Accessibility & contrast

On white

9.37
#7E2B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B12
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B12#FFFFFF#000000##FFFFFF
##7E2B121.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8B1426
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2b12;
/* rgb */ color: rgb(126, 43, 18);
/* oklch */ color: oklch(40.9% 0.121 36.7);
Tailwind
colors: {
  custom: {
    50: '#ab6852',
    500: '#7e2b12',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b12;
$custom-light: #ab6852;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b12",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 18
  },
  "hsl": {
    "h": 13.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.12066,
    "h": 36.7
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#7E2B12
secondary
#3897B4
accent
#C6F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2B12

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

Preview Lab → · Contrast checker → · Palette generator →

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