#7E1918#7E1918

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

Color values

HEX#7E1918
RGBrgb(126, 25, 24)
HSLhsl(1, 68%, 29%)
HSVhsv(1, 81%, 49%)
CMYKcmyk(0%, 80.2%, 81%, 50.6%)
CIE-LABlab(27.29, 42.28, 27.93)
CIE-LCHlch(27.29, 50.67, 33.45°)
OKLaboklab(38.95% 0.1216 0.0611)
OKLCHoklch(38.95% 0.136 26.7)
XYZxyz(9.1178, 5.1983, 1.3873)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1918 #187D7E
analogous
#7E184A #7E1918 #7E4C18
triadic
#7E1918 #187E19 #19187E
tetradic
#7E1918 #4A7E18 #187D7E #4C187E
square
#7E1918 #4A7E18 #187D7E #4C187E
split-complementary
#7E1918 #187E4C #184A7E
monochromatic
#1A0505 #4B0F0E #7E1918 #B12322 #D93937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1918#FFFFFF#000000##FFFFFF
##7E19181.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)
#383217
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1918;
/* rgb */ color: rgb(126, 25, 24);
/* oklch */ color: oklch(39.0% 0.136 26.7);
Tailwind
colors: {
  custom: {
    50: '#ab6055',
    500: '#7e1918',
    950: '#000000',
  },
}
SCSS
$custom: #7e1918;
$custom-light: #ab6055;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1918",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.13611,
    "h": 26.7
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#7E1918
secondary
#3FB1B2
accent
#E9EB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1918

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

Preview Lab → · Contrast checker → · Palette generator →

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