#7E241A#7E241A

#7E241A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.126 H 29.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7E241A
RGBrgb(126, 36, 26)
HSLhsl(6, 66%, 30%)
HSVhsv(6, 79%, 49%)
CMYKcmyk(0%, 71.4%, 79.4%, 50.6%)
CIE-LABlab(28.83, 38.16, 28.36)
CIE-LCHlch(28.83, 47.55, 36.62°)
OKLaboklab(40.11% 0.1091 0.0627)
OKLCHoklch(40.11% 0.126 29.9)
XYZxyz(9.4226, 5.7734, 1.5953)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E241A #1A747E
analogous
#7E1A42 #7E241A #7E561A
triadic
#7E241A #1A7E24 #241A7E
tetradic
#7E241A #427E1A #1A747E #561A7E
square
#7E241A #427E1A #1A747E #561A7E
split-complementary
#7E241A #1A7E56 #1A427E
monochromatic
#190705 #4B1610 #7E241A #B13224 #D74B3C

Accessibility & contrast

On white

9.75
#7E241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E241A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E241A#FFFFFF#000000##FFFFFF
##7E241A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#8B0522
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e241a;
/* rgb */ color: rgb(126, 36, 26);
/* oklch */ color: oklch(40.1% 0.126 29.9);
Tailwind
colors: {
  custom: {
    50: '#ab6557',
    500: '#7e241a',
    950: '#000000',
  },
}
SCSS
$custom: #7e241a;
$custom-light: #ab6557;
$custom-dark: #000000;
JSON
{
  "hex": "#7e241a",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.12584,
    "h": 29.9
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#7E241A
secondary
#42A7B2
accent
#D8E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E241A

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

Preview Lab → · Contrast checker → · Palette generator →

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