#7E241C#7E241C

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

Color values

HEX#7E241C
RGBrgb(126, 36, 28)
HSLhsl(5, 64%, 30%)
HSVhsv(5, 78%, 49%)
CMYKcmyk(0%, 71.4%, 77.8%, 50.6%)
CIE-LABlab(28.86, 38.25, 27.18)
CIE-LCHlch(28.86, 46.92, 35.40°)
OKLaboklab(40.14% 0.1098 0.0607)
OKLCHoklch(40.14% 0.125 28.9)
XYZxyz(9.4457, 5.7826, 1.7172)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E241C #1C767E
analogous
#7E1C45 #7E241C #7E551C
triadic
#7E241C #1C7E24 #241C7E
tetradic
#7E241C #457E1C #1C767E #551C7E
square
#7E241C #457E1C #1C767E #551C7E
split-complementary
#7E241C #1C7E55 #1C457E
monochromatic
#1A0706 #4C1611 #7E241C #B03227 #D54C40

Accessibility & contrast

On white

9.74
#7E241C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E241C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E241C#FFFFFF#000000##FFFFFF
##7E241C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#8B0623
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e241c;
/* rgb */ color: rgb(126, 36, 28);
/* oklch */ color: oklch(40.1% 0.125 28.9);
Tailwind
colors: {
  custom: {
    50: '#ab6558',
    500: '#7e241c',
    950: '#000000',
  },
}
SCSS
$custom: #7e241c;
$custom-light: #ab6558;
$custom-dark: #000000;
JSON
{
  "hex": "#7e241c",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 28
  },
  "hsl": {
    "h": 4.898,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.12547,
    "h": 28.9
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#7E241C
secondary
#44A9B2
accent
#D9E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E241C

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

Preview Lab → · Contrast checker → · Palette generator →

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