#7E241F#7E241F

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

Color values

HEX#7E241F
RGBrgb(126, 36, 31)
HSLhsl(3, 61%, 31%)
HSVhsv(3, 75%, 49%)
CMYKcmyk(0%, 71.4%, 75.4%, 50.6%)
CIE-LABlab(28.90, 38.39, 25.39)
CIE-LCHlch(28.90, 46.02, 33.48°)
OKLaboklab(40.18% 0.1109 0.0575)
OKLCHoklch(40.18% 0.125 27.4)
XYZxyz(9.4834, 5.7977, 1.9158)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E241F #1F797E
analogous
#7E1F49 #7E241F #7E531F
triadic
#7E241F #1F7E24 #241F7E
tetradic
#7E241F #497E1F #1F797E #531F7E
square
#7E241F #497E1F #1F797E #531F7E
split-complementary
#7E241F #1F7E53 #1F497E
monochromatic
#1C0807 #4D1613 #7E241F #AF322B #D14D46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E241F#FFFFFF#000000##FFFFFF
##7E241F1.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)
#3E381E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8B0724
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e241f;
/* rgb */ color: rgb(126, 36, 31);
/* oklch */ color: oklch(40.2% 0.125 27.4);
Tailwind
colors: {
  custom: {
    50: '#aa655b',
    500: '#7e241f',
    950: '#000000',
  },
}
SCSS
$custom: #7e241f;
$custom-light: #aa655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e241f",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 3.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.12495,
    "h": 27.4
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#7E241F
secondary
#48ACB1
accent
#DBE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E241F

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

Preview Lab → · Contrast checker → · Palette generator →

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