#7E2417#7E2417

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

Color values

HEX#7E2417
RGBrgb(126, 36, 23)
HSLhsl(8, 69%, 29%)
HSVhsv(8, 82%, 49%)
CMYKcmyk(0%, 71.4%, 81.7%, 50.6%)
CIE-LABlab(28.80, 38.04, 30.08)
CIE-LCHlch(28.80, 48.50, 38.33°)
OKLaboklab(40.08% 0.1081 0.0655)
OKLCHoklch(40.08% 0.126 31.2)
XYZxyz(9.3908, 5.7606, 1.4279)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2417 #17717E
analogous
#7E173E #7E2417 #7E5817
triadic
#7E2417 #177E24 #24177E
tetradic
#7E2417 #3E7E17 #17717E #58177E
square
#7E2417 #3E7E17 #17717E #58177E
split-complementary
#7E2417 #177E58 #173E7E
monochromatic
#1A0705 #4A150E #7E2417 #B23320 #DA4A35

Accessibility & contrast

On white

9.76
#7E2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2417
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2417#FFFFFF#000000##FFFFFF
##7E24171.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#554B13
Tritanopia (blue-blind)
#8B0422
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2417;
/* rgb */ color: rgb(126, 36, 23);
/* oklch */ color: oklch(40.1% 0.126 31.2);
Tailwind
colors: {
  custom: {
    50: '#ab6555',
    500: '#7e2417',
    950: '#000000',
  },
}
SCSS
$custom: #7e2417;
$custom-light: #ab6555;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2417",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.573,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.1264,
    "h": 31.2
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#7E2417
secondary
#3EA4B3
accent
#D6EC3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2417

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

Preview Lab → · Contrast checker → · Palette generator →

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