#7E241D#7E241D

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

Color values

HEX#7E241D
RGBrgb(126, 36, 29)
HSLhsl(4, 63%, 30%)
HSVhsv(4, 77%, 49%)
CMYKcmyk(0%, 71.4%, 77%, 50.6%)
CIE-LABlab(28.87, 38.29, 26.59)
CIE-LCHlch(28.87, 46.62, 34.78°)
OKLaboklab(40.15% 0.1102 0.0597)
OKLCHoklch(40.15% 0.125 28.4)
XYZxyz(9.4579, 5.7875, 1.7812)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E241D #1D777E
analogous
#7E1D46 #7E241D #7E541D
triadic
#7E241D #1D7E24 #241D7E
tetradic
#7E241D #467E1D #1D777E #541D7E
square
#7E241D #467E1D #1D777E #541D7E
split-complementary
#7E241D #1D7E54 #1D467E
monochromatic
#1B0806 #4C1612 #7E241D #B03228 #D34C42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E241D#FFFFFF#000000##FFFFFF
##7E241D1.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)
#3E381B
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#8B0623
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e241d;
/* rgb */ color: rgb(126, 36, 29);
/* oklch */ color: oklch(40.2% 0.125 28.4);
Tailwind
colors: {
  custom: {
    50: '#ab6559',
    500: '#7e241d',
    950: '#000000',
  },
}
SCSS
$custom: #7e241d;
$custom-light: #ab6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7e241d",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 29
  },
  "hsl": {
    "h": 4.33,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.1253,
    "h": 28.4
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#7E241D
secondary
#45AAB1
accent
#DAE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E241D

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

Preview Lab → · Contrast checker → · Palette generator →

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