#7E2622#7E2622

#7E2622 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.122 H 26.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E2622
RGBrgb(126, 38, 34)
HSLhsl(3, 58%, 31%)
HSVhsv(3, 73%, 49%)
CMYKcmyk(0%, 69.8%, 73%, 50.6%)
CIE-LABlab(29.26, 37.67, 23.93)
CIE-LCHlch(29.26, 44.63, 32.43°)
OKLaboklab(40.46% 0.1093 0.055)
OKLCHoklch(40.46% 0.122 26.7)
XYZxyz(9.5871, 5.9387, 2.1545)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2622 #227A7E
analogous
#7E224C #7E2622 #7E5422
triadic
#7E2622 #227E26 #26227E
tetradic
#7E2622 #4C7E22 #227A7E #54227E
square
#7E2622 #4C7E22 #227A7E #54227E
split-complementary
#7E2622 #227E54 #224C7E
monochromatic
#1E0908 #4E1715 #7E2622 #AE352F #CF514C

Accessibility & contrast

On white

9.60
#7E2622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E2622 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2622
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2622#FFFFFF#000000##FFFFFF
##7E26221.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3921
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#8B0D26
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2622;
/* rgb */ color: rgb(126, 38, 34);
/* oklch */ color: oklch(40.5% 0.122 26.7);
Tailwind
colors: {
  custom: {
    50: '#aa665d',
    500: '#7e2622',
    950: '#000000',
  },
}
SCSS
$custom: #7e2622;
$custom-light: #aa665d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2622",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 34
  },
  "hsl": {
    "h": 2.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.12238,
    "h": 26.7
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7E2622
secondary
#4BACB1
accent
#DAE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2622

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

Preview Lab → · Contrast checker → · Palette generator →

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