#7E1E17#7E1E17

#7E1E17 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 28.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7E1E17
RGBrgb(126, 30, 23)
HSLhsl(4, 69%, 29%)
HSVhsv(4, 82%, 49%)
CMYKcmyk(0%, 76.2%, 81.7%, 50.6%)
CIE-LABlab(27.92, 40.47, 29.18)
CIE-LCHlch(27.92, 49.89, 35.79°)
OKLaboklab(39.42% 0.1157 0.0635)
OKLCHoklch(39.42% 0.132 28.8)
XYZxyz(9.2242, 5.4275, 1.3724)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E17 #17777E
analogous
#7E1744 #7E1E17 #7E5217
triadic
#7E1E17 #177E1E #1E177E
tetradic
#7E1E17 #447E17 #17777E #52177E
square
#7E1E17 #447E17 #17777E #52177E
split-complementary
#7E1E17 #177E52 #17447E
monochromatic
#1A0605 #4A120E #7E1E17 #B22A20 #DA4035

Accessibility & contrast

On white

10.07
#7E1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E17
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E17#FFFFFF#000000##FFFFFF
##7E1E171.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e17;
/* rgb */ color: rgb(126, 30, 23);
/* oklch */ color: oklch(39.4% 0.132 28.8);
Tailwind
colors: {
  custom: {
    50: '#ab6255',
    500: '#7e1e17',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e17;
$custom-light: #ab6255;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e17",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 4.078,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39417,
    "c": 0.13197,
    "h": 28.8
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#7E1E17
secondary
#3EABB3
accent
#E0EC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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