#7E1A17#7E1A17

#7E1A17 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.135 H 27.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7E1A17
RGBrgb(126, 26, 23)
HSLhsl(2, 69%, 29%)
HSVhsv(2, 82%, 49%)
CMYKcmyk(0%, 79.4%, 81.7%, 50.6%)
CIE-LABlab(27.40, 41.91, 28.65)
CIE-LCHlch(27.40, 50.76, 34.36°)
OKLaboklab(39.03% 0.1202 0.0624)
OKLCHoklch(39.03% 0.135 27.4)
XYZxyz(9.1293, 5.2377, 1.3407)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A17 #177B7E
analogous
#7E1748 #7E1A17 #7E4E17
triadic
#7E1A17 #177E1A #1A177E
tetradic
#7E1A17 #487E17 #177B7E #4E177E
square
#7E1A17 #487E17 #177B7E #4E177E
split-complementary
#7E1A17 #177E4E #17487E
monochromatic
#1A0505 #4A0F0E #7E1A17 #B22520 #DA3A35

Accessibility & contrast

On white

10.26
#7E1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A17
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A17#FFFFFF#000000##FFFFFF
##7E1A171.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a17;
/* rgb */ color: rgb(126, 26, 23);
/* oklch */ color: oklch(39.0% 0.135 27.4);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7e1a17',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a17;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a17",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.748,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39031,
    "c": 0.13542,
    "h": 27.4
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#7E1A17
secondary
#3EAFB3
accent
#E7EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7E1A17

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

Preview Lab → · Contrast checker → · Palette generator →

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