#7E2415#7E2415

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

Color values

HEX#7E2415
RGBrgb(126, 36, 21)
HSLhsl(9, 71%, 29%)
HSVhsv(9, 83%, 49%)
CMYKcmyk(0%, 71.4%, 83.3%, 50.6%)
CIE-LABlab(28.78, 37.97, 31.19)
CIE-LCHlch(28.78, 49.14, 39.40°)
OKLaboklab(40.06% 0.1075 0.0672)
OKLCHoklch(40.06% 0.127 32)
XYZxyz(9.3715, 5.7529, 1.3263)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2415 #156F7E
analogous
#7E153B #7E2415 #7E5915
triadic
#7E2415 #157E24 #24157E
tetradic
#7E2415 #3B7E15 #156F7E #59157E
square
#7E2415 #3B7E15 #156F7E #59157E
split-complementary
#7E2415 #157E59 #153B7E
monochromatic
#1A0704 #4A150C #7E2415 #B2331E #DD4931

Accessibility & contrast

On white

9.77
#7E2415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E2415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2415
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2415#FFFFFF#000000##FFFFFF
##7E24151.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3712
Deuteranopia (green-blind)
#554B11
Tritanopia (blue-blind)
#8B0421
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2415;
/* rgb */ color: rgb(126, 36, 21);
/* oklch */ color: oklch(40.1% 0.127 32.0);
Tailwind
colors: {
  custom: {
    50: '#ab6554',
    500: '#7e2415',
    950: '#000000',
  },
}
SCSS
$custom: #7e2415;
$custom-light: #ab6554;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2415",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 21
  },
  "hsl": {
    "h": 8.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.12677,
    "h": 32
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#7E2415
secondary
#3CA2B3
accent
#D4EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2415

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

Preview Lab → · Contrast checker → · Palette generator →

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