#7E1A18#7E1A18

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

Color values

HEX#7E1A18
RGBrgb(126, 26, 24)
HSLhsl(1, 68%, 29%)
HSVhsv(1, 81%, 49%)
CMYKcmyk(0%, 79.4%, 81%, 50.6%)
CIE-LABlab(27.41, 41.94, 28.06)
CIE-LCHlch(27.41, 50.46, 33.78°)
OKLaboklab(39.04% 0.1205 0.0614)
OKLCHoklch(39.04% 0.135 27)
XYZxyz(9.1395, 5.2418, 1.3945)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A18 #187C7E
analogous
#7E1849 #7E1A18 #7E4D18
triadic
#7E1A18 #187E1A #1A187E
tetradic
#7E1A18 #497E18 #187C7E #4D187E
square
#7E1A18 #497E18 #187C7E #4D187E
split-complementary
#7E1A18 #187E4D #18497E
monochromatic
#1A0505 #4B0F0E #7E1A18 #B12522 #D93B37

Accessibility & contrast

On white

10.25
#7E1A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A18
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A18#FFFFFF#000000##FFFFFF
##7E1A181.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1a18;
/* rgb */ color: rgb(126, 26, 24);
/* oklch */ color: oklch(39.0% 0.135 27.0);
Tailwind
colors: {
  custom: {
    50: '#ab6055',
    500: '#7e1a18',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a18;
$custom-light: #ab6055;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a18",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 1.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.13529,
    "h": 27
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#7E1A18
secondary
#3FB0B2
accent
#E7EB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1A18

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

Preview Lab → · Contrast checker → · Palette generator →

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