#7E2722#7E2722

#7E2722 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.121 H 27.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E2722
RGBrgb(126, 39, 34)
HSLhsl(3, 58%, 31%)
HSVhsv(3, 73%, 49%)
CMYKcmyk(0%, 69%, 73%, 50.6%)
CIE-LABlab(29.42, 37.23, 24.13)
CIE-LCHlch(29.42, 44.36, 32.95°)
OKLaboklab(40.59% 0.1079 0.0554)
OKLCHoklch(40.59% 0.121 27.2)
XYZxyz(9.6195, 6.0035, 2.1653)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2722 #22797E
analogous
#7E224B #7E2722 #7E5522
triadic
#7E2722 #227E27 #27227E
tetradic
#7E2722 #4B7E22 #22797E #55227E
square
#7E2722 #4B7E22 #22797E #55227E
split-complementary
#7E2722 #227E55 #224B7E
monochromatic
#1E0908 #4E1815 #7E2722 #AE362F #CF534C

Accessibility & contrast

On white

9.54
#7E2722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2722 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2722
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2722#FFFFFF#000000##FFFFFF
##7E27221.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3921
Deuteranopia (green-blind)
#554C1F
Tritanopia (blue-blind)
#8B0F27
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2722;
/* rgb */ color: rgb(126, 39, 34);
/* oklch */ color: oklch(40.6% 0.121 27.2);
Tailwind
colors: {
  custom: {
    50: '#aa665d',
    500: '#7e2722',
    950: '#000000',
  },
}
SCSS
$custom: #7e2722;
$custom-light: #aa665d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2722",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 34
  },
  "hsl": {
    "h": 3.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.12133,
    "h": 27.2
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#7E2722
secondary
#4BABB1
accent
#D8E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2722

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

Preview Lab → · Contrast checker → · Palette generator →

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