#7E2B16#7E2B16

#7E2B16 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.120 H 35.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7E2B16
RGBrgb(126, 43, 22)
HSLhsl(12, 70%, 29%)
HSVhsv(12, 83%, 49%)
CMYKcmyk(0%, 65.9%, 82.5%, 50.6%)
CIE-LABlab(29.97, 34.83, 31.81)
CIE-LCHlch(29.97, 47.17, 42.40°)
OKLaboklab(40.95% 0.0979 0.0689)
OKLCHoklch(40.95% 0.12 35.1)
XYZxyz(9.6139, 6.2227, 1.4538)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B16 #16697E
analogous
#7E1635 #7E2B16 #7E5F16
triadic
#7E2B16 #167E2B #2B167E
tetradic
#7E2B16 #357E16 #16697E #5F167E
square
#7E2B16 #357E16 #16697E #5F167E
split-complementary
#7E2B16 #167E5F #16357E
monochromatic
#1A0905 #4A190D #7E2B16 #B23D1F #DB5533

Accessibility & contrast

On white

9.36
#7E2B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B16
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B16#FFFFFF#000000##FFFFFF
##7E2B161.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B13
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#8B1527
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b16;
/* rgb */ color: rgb(126, 43, 22);
/* oklch */ color: oklch(40.9% 0.120 35.1);
Tailwind
colors: {
  custom: {
    50: '#ab6855',
    500: '#7e2b16',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b16;
$custom-light: #ab6855;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b16",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 22
  },
  "hsl": {
    "h": 12.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.11976,
    "h": 35.1
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#7E2B16
secondary
#3D9BB3
accent
#C9ED3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B16

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

Preview Lab → · Contrast checker → · Palette generator →

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