#7E2917#7E2917

#7E2917 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.122 H 33.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E2917
RGBrgb(126, 41, 23)
HSLhsl(10, 69%, 29%)
HSVhsv(10, 82%, 49%)
CMYKcmyk(0%, 67.5%, 81.7%, 50.6%)
CIE-LABlab(29.63, 35.81, 30.91)
CIE-LCHlch(29.63, 47.31, 40.80°)
OKLaboklab(40.7% 0.1012 0.0673)
OKLCHoklch(40.7% 0.122 33.6)
XYZxyz(9.5528, 6.0848, 1.4819)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2917 #176C7E
analogous
#7E1739 #7E2917 #7E5D17
triadic
#7E2917 #177E29 #29177E
tetradic
#7E2917 #397E17 #176C7E #5D177E
square
#7E2917 #397E17 #176C7E #5D177E
split-complementary
#7E2917 #177E5D #17397E
monochromatic
#1A0805 #4A180E #7E2917 #B23A20 #DA5235

Accessibility & contrast

On white

9.47
#7E2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2917
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2917#FFFFFF#000000##FFFFFF
##7E29171.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#8B1125
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2917;
/* rgb */ color: rgb(126, 41, 23);
/* oklch */ color: oklch(40.7% 0.122 33.6);
Tailwind
colors: {
  custom: {
    50: '#ab6755',
    500: '#7e2917',
    950: '#000000',
  },
}
SCSS
$custom: #7e2917;
$custom-light: #ab6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2917",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.485,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.12151,
    "h": 33.6
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#7E2917
secondary
#3E9EB3
accent
#CDEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2917

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

Preview Lab → · Contrast checker → · Palette generator →

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