#7E1826#7E1826

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

Color values

HEX#7E1826
RGBrgb(126, 24, 38)
HSLhsl(352, 68%, 29%)
HSVhsv(352, 81%, 49%)
CMYKcmyk(0%, 81%, 69.8%, 50.6%)
CIE-LABlab(27.38, 43.26, 19.08)
CIE-LCHlch(27.38, 47.28, 23.80°)
OKLaboklab(39.09% 0.128 0.0449)
OKLCHoklch(39.09% 0.136 19.3)
XYZxyz(9.2817, 5.2303, 2.3542)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1826 #187E70
analogous
#7E1859 #7E1826 #7E3D18
triadic
#7E1826 #267E18 #18267E
tetradic
#7E1826 #597E18 #187E70 #3D187E
square
#7E1826 #597E18 #187E70 #3D187E
split-complementary
#7E1826 #187E3D #18597E
monochromatic
#1A0508 #4B0E16 #7E1826 #B12236 #D9374E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1826#FFFFFF#000000##FFFFFF
##7E18261.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)
#363326
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1826;
/* rgb */ color: rgb(126, 24, 38);
/* oklch */ color: oklch(39.1% 0.136 19.3);
Tailwind
colors: {
  custom: {
    50: '#aa6060',
    500: '#7e1826',
    950: '#000000',
  },
}
SCSS
$custom: #7e1826;
$custom-light: #aa6060;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1826",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 38
  },
  "hsl": {
    "h": 351.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39085,
    "c": 0.13566,
    "h": 19.3
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#7E1826
secondary
#3FB2A3
accent
#EBD33D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1826

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

Preview Lab → · Contrast checker → · Palette generator →

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