#7E2F12#7E2F12

#7E2F12 is a dark, moderate orange. Relative luminance 0.065; OKLCH L 41.5% C 0.117 H 39.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7E2F12
RGBrgb(126, 47, 18)
HSLhsl(16, 75%, 28%)
HSVhsv(16, 86%, 49%)
CMYKcmyk(0%, 62.7%, 85.7%, 50.6%)
CIE-LABlab(30.67, 32.73, 34.56)
CIE-LCHlch(30.67, 47.60, 46.56°)
OKLaboklab(41.47% 0.0908 0.0736)
OKLCHoklch(41.47% 0.117 39)
XYZxyz(9.7310, 6.5137, 1.3170)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F12 #12617E
analogous
#7E122B #7E2F12 #7E6512
triadic
#7E2F12 #127E2F #2F127E
tetradic
#7E2F12 #2B7E12 #12617E #65127E
square
#7E2F12 #2B7E12 #12617E #65127E
split-complementary
#7E2F12 #127E65 #122B7E
monochromatic
#1B0A04 #481B0A #7E2F12 #B4431A #E15B2A

Accessibility & contrast

On white

9.12
#7E2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F12
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F12#FFFFFF#000000##FFFFFF
##7E2F121.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0D
Deuteranopia (green-blind)
#594F0F
Tritanopia (blue-blind)
#8B1B29
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f12;
/* rgb */ color: rgb(126, 47, 18);
/* oklch */ color: oklch(41.5% 0.117 39.0);
Tailwind
colors: {
  custom: {
    50: '#ab6b53',
    500: '#7e2f12',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f12;
$custom-light: #ab6b53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f12",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 16.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.11684,
    "h": 39
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#7E2F12
secondary
#3893B4
accent
#BFF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110702
muted
#807A78

Preview Lab

Preview with #7E2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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