#7E1618#7E1618

#7E1618 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 25.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7E1618
RGBrgb(126, 22, 24)
HSLhsl(359, 70%, 29%)
HSVhsv(359, 83%, 49%)
CMYKcmyk(0%, 82.5%, 81%, 50.6%)
CIE-LABlab(26.95, 43.24, 27.57)
CIE-LCHlch(26.95, 51.28, 32.53°)
OKLaboklab(38.7% 0.1246 0.0604)
OKLCHoklch(38.7% 0.138 25.8)
XYZxyz(9.0571, 5.0768, 1.3670)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1618 #167E7C
analogous
#7E164C #7E1618 #7E4816
triadic
#7E1618 #187E16 #16187E
tetradic
#7E1618 #4C7E16 #167E7C #48167E
square
#7E1618 #4C7E16 #167E7C #48167E
split-complementary
#7E1618 #167E48 #164C7E
monochromatic
#1A0505 #4A0D0E #7E1618 #B21F22 #DB3336

Accessibility & contrast

On white

10.42
#7E1618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1618
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1618#FFFFFF#000000##FFFFFF
##7E16181.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1618;
/* rgb */ color: rgb(126, 22, 24);
/* oklch */ color: oklch(38.7% 0.138 25.8);
Tailwind
colors: {
  custom: {
    50: '#ac5f55',
    500: '#7e1618',
    950: '#000000',
  },
}
SCSS
$custom: #7e1618;
$custom-light: #ac5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1618",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 24
  },
  "hsl": {
    "h": 358.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.13847,
    "h": 25.8
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#7E1618
secondary
#3DB3B1
accent
#EDEA3B
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1618

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

Preview Lab → · Contrast checker → · Palette generator →

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