#7E2B22#7E2B22

#7E2B22 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.117 H 29.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2B22
RGBrgb(126, 43, 34)
HSLhsl(6, 58%, 31%)
HSVhsv(6, 73%, 49%)
CMYKcmyk(0%, 65.9%, 73%, 50.6%)
CIE-LABlab(30.11, 35.38, 24.93)
CIE-LCHlch(30.11, 43.28, 35.17°)
OKLaboklab(41.1% 0.1021 0.0572)
OKLCHoklch(41.1% 0.117 29.2)
XYZxyz(9.7578, 6.2802, 2.2115)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B22 #22757E
analogous
#7E2247 #7E2B22 #7E5922
triadic
#7E2B22 #227E2B #2B227E
tetradic
#7E2B22 #477E22 #22757E #59227E
square
#7E2B22 #477E22 #22757E #59227E
split-complementary
#7E2B22 #227E59 #22477E
monochromatic
#1E0A08 #4E1B15 #7E2B22 #AE3B2F #CF594C

Accessibility & contrast

On white

9.31
#7E2B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B22
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B22#FFFFFF#000000##FFFFFF
##7E2B221.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#564E1F
Tritanopia (blue-blind)
#8B1729
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b22;
/* rgb */ color: rgb(126, 43, 34);
/* oklch */ color: oklch(41.1% 0.117 29.2);
Tailwind
colors: {
  custom: {
    50: '#aa695d',
    500: '#7e2b22',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b22;
$custom-light: #aa695d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b22",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 34
  },
  "hsl": {
    "h": 5.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.11704,
    "h": 29.2
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#7E2B22
secondary
#4BA7B1
accent
#D2E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2B22

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

Preview Lab → · Contrast checker → · Palette generator →

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