#7E241E#7E241E

#7E241E is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.125 H 27.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7E241E
RGBrgb(126, 36, 30)
HSLhsl(4, 62%, 31%)
HSVhsv(4, 76%, 49%)
CMYKcmyk(0%, 71.4%, 76.2%, 50.6%)
CIE-LABlab(28.88, 38.34, 25.99)
CIE-LCHlch(28.88, 46.32, 34.13°)
OKLaboklab(40.16% 0.1106 0.0586)
OKLCHoklch(40.16% 0.125 27.9)
XYZxyz(9.4705, 5.7925, 1.8474)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E241E #1E787E
analogous
#7E1E48 #7E241E #7E541E
triadic
#7E241E #1E7E24 #241E7E
tetradic
#7E241E #487E1E #1E787E #541E7E
square
#7E241E #487E1E #1E787E #541E7E
split-complementary
#7E241E #1E7E54 #1E487E
monochromatic
#1B0806 #4D1612 #7E241E #AF322A #D24D44

Accessibility & contrast

On white

9.73
#7E241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E241E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E241E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E241E#FFFFFF#000000##FFFFFF
##7E241E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#8B0723
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e241e;
/* rgb */ color: rgb(126, 36, 30);
/* oklch */ color: oklch(40.2% 0.125 27.9);
Tailwind
colors: {
  custom: {
    50: '#aa655a',
    500: '#7e241e',
    950: '#000000',
  },
}
SCSS
$custom: #7e241e;
$custom-light: #aa655a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e241e",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 3.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40164,
    "c": 0.12512,
    "h": 27.9
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#7E241E
secondary
#47ABB1
accent
#DBE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E241E

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

Preview Lab → · Contrast checker → · Palette generator →

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