#7E241B#7E241B

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

Color values

HEX#7E241B
RGBrgb(126, 36, 27)
HSLhsl(5, 65%, 30%)
HSVhsv(5, 79%, 49%)
CMYKcmyk(0%, 71.4%, 78.6%, 50.6%)
CIE-LABlab(28.85, 38.20, 27.77)
CIE-LCHlch(28.85, 47.23, 36.02°)
OKLaboklab(40.12% 0.1095 0.0617)
OKLCHoklch(40.12% 0.126 29.4)
XYZxyz(9.4340, 5.7779, 1.6552)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E241B #1B757E
analogous
#7E1B43 #7E241B #7E561B
triadic
#7E241B #1B7E24 #241B7E
tetradic
#7E241B #437E1B #1B757E #561B7E
square
#7E241B #437E1B #1B757E #561B7E
split-complementary
#7E241B #1B7E56 #1B437E
monochromatic
#190705 #4C1610 #7E241B #B03226 #D64C3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E241B#FFFFFF#000000##FFFFFF
##7E241B1.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)
#3E3719
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#8B0623
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e241b;
/* rgb */ color: rgb(126, 36, 27);
/* oklch */ color: oklch(40.1% 0.126 29.4);
Tailwind
colors: {
  custom: {
    50: '#ab6558',
    500: '#7e241b',
    950: '#000000',
  },
}
SCSS
$custom: #7e241b;
$custom-light: #ab6558;
$custom-dark: #000000;
JSON
{
  "hex": "#7e241b",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 27
  },
  "hsl": {
    "h": 5.455,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.12566,
    "h": 29.4
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#7E241B
secondary
#43A8B2
accent
#D8E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E241B

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

Preview Lab → · Contrast checker → · Palette generator →

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