#7E2E12#7E2E12

#7E2E12 is a dark, moderate orange. Relative luminance 0.064; OKLCH L 41.3% C 0.118 H 38.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E2E12
RGBrgb(126, 46, 18)
HSLhsl(16, 75%, 28%)
HSVhsv(16, 86%, 49%)
CMYKcmyk(0%, 63.5%, 85.7%, 50.6%)
CIE-LABlab(30.48, 33.23, 34.39)
CIE-LCHlch(30.48, 47.82, 45.98°)
OKLaboklab(41.33% 0.0923 0.0732)
OKLCHoklch(41.33% 0.118 38.4)
XYZxyz(9.6914, 6.4347, 1.3038)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E12 #12627E
analogous
#7E122C #7E2E12 #7E6412
triadic
#7E2E12 #127E2E #2E127E
tetradic
#7E2E12 #2C7E12 #12627E #64127E
square
#7E2E12 #2C7E12 #12627E #64127E
split-complementary
#7E2E12 #127E64 #122C7E
monochromatic
#1B0A04 #481A0A #7E2E12 #B4421A #E1592A

Accessibility & contrast

On white

9.18
#7E2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E12
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E12#FFFFFF#000000##FFFFFF
##7E2E121.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0E
Deuteranopia (green-blind)
#594E0E
Tritanopia (blue-blind)
#8B1929
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e12;
/* rgb */ color: rgb(126, 46, 18);
/* oklch */ color: oklch(41.3% 0.118 38.4);
Tailwind
colors: {
  custom: {
    50: '#ab6a52',
    500: '#7e2e12',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e12;
$custom-light: #ab6a52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e12",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 15.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41328,
    "c": 0.11779,
    "h": 38.4
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#7E2E12
secondary
#3894B4
accent
#C1F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110702
muted
#807A78

Preview Lab

Preview with #7E2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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