#7E2F16#7E2F16

#7E2F16 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.116 H 37.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7E2F16
RGBrgb(126, 47, 22)
HSLhsl(14, 70%, 29%)
HSVhsv(14, 83%, 49%)
CMYKcmyk(0%, 62.7%, 82.5%, 50.6%)
CIE-LABlab(30.71, 32.87, 32.54)
CIE-LCHlch(30.71, 46.25, 44.71°)
OKLaboklab(41.51% 0.0919 0.0705)
OKLCHoklch(41.51% 0.116 37.5)
XYZxyz(9.7666, 6.5279, 1.5046)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F16 #16657E
analogous
#7E1631 #7E2F16 #7E6316
triadic
#7E2F16 #167E2F #2F167E
tetradic
#7E2F16 #317E16 #16657E #63167E
square
#7E2F16 #317E16 #16657E #63167E
split-complementary
#7E2F16 #167E63 #16317E
monochromatic
#1A0A05 #4A1C0D #7E2F16 #B2421F #DB5B33

Accessibility & contrast

On white

9.11
#7E2F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F16
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F16#FFFFFF#000000##FFFFFF
##7E2F161.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D12
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#8B1C2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f16;
/* rgb */ color: rgb(126, 47, 22);
/* oklch */ color: oklch(41.5% 0.116 37.5);
Tailwind
colors: {
  custom: {
    50: '#aa6b55',
    500: '#7e2f16',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f16;
$custom-light: #aa6b55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f16",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 14.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.11583,
    "h": 37.5
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#7E2F16
secondary
#3D97B3
accent
#C2ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F16

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

Preview Lab → · Contrast checker → · Palette generator →

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