#7E1417#7E1417

#7E1417 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.140 H 25.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1417
RGBrgb(126, 20, 23)
HSLhsl(358, 73%, 29%)
HSVhsv(358, 84%, 49%)
CMYKcmyk(0%, 84.1%, 81.7%, 50.6%)
CIE-LABlab(26.73, 43.79, 27.95)
CIE-LCHlch(26.73, 51.95, 32.55°)
OKLaboklab(38.53% 0.1261 0.0609)
OKLCHoklch(38.53% 0.14 25.8)
XYZxyz(9.0101, 4.9993, 1.3010)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1417 #147E7B
analogous
#7E144C #7E1417 #7E4614
triadic
#7E1417 #177E14 #14177E
tetradic
#7E1417 #4C7E14 #147E7B #46147E
square
#7E1417 #4C7E14 #147E7B #46147E
split-complementary
#7E1417 #147E46 #144C7E
monochromatic
#1A0405 #490C0D #7E1417 #B31C21 #DE2E33

Accessibility & contrast

On white

10.50
#7E1417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1417
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1417#FFFFFF#000000##FFFFFF
##7E14171.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363116
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1417;
/* rgb */ color: rgb(126, 20, 23);
/* oklch */ color: oklch(38.5% 0.140 25.8);
Tailwind
colors: {
  custom: {
    50: '#ac5e54',
    500: '#7e1417',
    950: '#000000',
  },
}
SCSS
$custom: #7e1417;
$custom-light: #ac5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1417",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 358.302,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.14005,
    "h": 25.8
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#7E1417
secondary
#3AB3B0
accent
#EFEA38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7E1417

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

Preview Lab → · Contrast checker → · Palette generator →

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