#7E2617#7E2617

#7E2617 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.124 H 32.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7E2617
RGBrgb(126, 38, 23)
HSLhsl(9, 69%, 29%)
HSVhsv(9, 82%, 49%)
CMYKcmyk(0%, 69.8%, 81.7%, 50.6%)
CIE-LABlab(29.12, 37.17, 30.40)
CIE-LCHlch(29.12, 48.02, 39.28°)
OKLaboklab(40.32% 0.1054 0.0662)
OKLCHoklch(40.32% 0.124 32.1)
XYZxyz(9.4530, 5.8851, 1.4486)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2617 #176F7E
analogous
#7E173C #7E2617 #7E5A17
triadic
#7E2617 #177E26 #26177E
tetradic
#7E2617 #3C7E17 #176F7E #5A177E
square
#7E2617 #3C7E17 #176F7E #5A177E
split-complementary
#7E2617 #177E5A #173C7E
monochromatic
#1A0805 #4A160E #7E2617 #B23620 #DA4D35

Accessibility & contrast

On white

9.65
#7E2617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E2617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2617
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2617#FFFFFF#000000##FFFFFF
##7E26171.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#8B0A23
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2617;
/* rgb */ color: rgb(126, 38, 23);
/* oklch */ color: oklch(40.3% 0.124 32.1);
Tailwind
colors: {
  custom: {
    50: '#ab6655',
    500: '#7e2617',
    950: '#000000',
  },
}
SCSS
$custom: #7e2617;
$custom-light: #ab6655;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2617",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 23
  },
  "hsl": {
    "h": 8.738,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40316,
    "c": 0.12446,
    "h": 32.1
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#7E2617
secondary
#3EA2B3
accent
#D2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2617

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

Preview Lab → · Contrast checker → · Palette generator →

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