#7E1917#7E1917

#7E1917 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 27.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7E1917
RGBrgb(126, 25, 23)
HSLhsl(1, 69%, 29%)
HSVhsv(1, 82%, 49%)
CMYKcmyk(0%, 80.2%, 81.7%, 50.6%)
CIE-LABlab(27.28, 42.25, 28.52)
CIE-LCHlch(27.28, 50.97, 34.03°)
OKLaboklab(38.94% 0.1213 0.0621)
OKLCHoklch(38.94% 0.136 27.1)
XYZxyz(9.1076, 5.1942, 1.3335)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1917 #177C7E
analogous
#7E1749 #7E1917 #7E4D17
triadic
#7E1917 #177E19 #19177E
tetradic
#7E1917 #497E17 #177C7E #4D177E
square
#7E1917 #497E17 #177C7E #4D177E
split-complementary
#7E1917 #177E4D #17497E
monochromatic
#1A0505 #4A0F0E #7E1917 #B22320 #DA3835

Accessibility & contrast

On white

10.30
#7E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1917
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1917#FFFFFF#000000##FFFFFF
##7E19171.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393215
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1917;
/* rgb */ color: rgb(126, 25, 23);
/* oklch */ color: oklch(38.9% 0.136 27.1);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7e1917',
    950: '#000000',
  },
}
SCSS
$custom: #7e1917;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1917",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.165,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.13624,
    "h": 27.1
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#7E1917
secondary
#3EB0B3
accent
#E9EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7E1917

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

Preview Lab → · Contrast checker → · Palette generator →

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