#7E2918#7E2918

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

Color values

HEX#7E2918
RGBrgb(126, 41, 24)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 49%)
CMYKcmyk(0%, 67.5%, 81%, 50.6%)
CIE-LABlab(29.64, 35.85, 30.36)
CIE-LCHlch(29.64, 46.98, 40.26°)
OKLaboklab(40.71% 0.1015 0.0664)
OKLCHoklch(40.71% 0.121 33.2)
XYZxyz(9.5631, 6.0888, 1.5357)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2918 #186D7E
analogous
#7E183A #7E2918 #7E5C18
triadic
#7E2918 #187E29 #29187E
tetradic
#7E2918 #3A7E18 #186D7E #5C187E
square
#7E2918 #3A7E18 #186D7E #5C187E
split-complementary
#7E2918 #187E5C #183A7E
monochromatic
#1A0805 #4B180E #7E2918 #B13A22 #D95237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2918#FFFFFF#000000##FFFFFF
##7E29181.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)
#413A15
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#8B1126
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2918;
/* rgb */ color: rgb(126, 41, 24);
/* oklch */ color: oklch(40.7% 0.121 33.2);
Tailwind
colors: {
  custom: {
    50: '#ab6756',
    500: '#7e2918',
    950: '#000000',
  },
}
SCSS
$custom: #7e2918;
$custom-light: #ab6756;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2918",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 10,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.12129,
    "h": 33.2
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#7E2918
secondary
#3F9FB2
accent
#CEEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2918

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

Preview Lab → · Contrast checker → · Palette generator →

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