#7E1919#7E1919

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

Color values

HEX#7E1919
RGBrgb(126, 25, 25)
HSLhsl(0, 67%, 30%)
HSVhsv(0, 80%, 49%)
CMYKcmyk(0%, 80.2%, 80.2%, 50.6%)
CIE-LABlab(27.30, 42.32, 27.33)
CIE-LCHlch(27.30, 50.38, 32.86°)
OKLaboklab(38.97% 0.122 0.0602)
OKLCHoklch(38.97% 0.136 26.3)
XYZxyz(9.1284, 5.2025, 1.4431)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1919 #197E7E
analogous
#7E194C #7E1919 #7E4C19
triadic
#7E1919 #197E19 #19197E
tetradic
#7E1919 #4C7E19 #197E7E #4C197E
square
#7E1919 #4C7E19 #197E7E #4C197E
split-complementary
#7E1919 #197E4C #194C7E
monochromatic
#1A0505 #4B0F0F #7E1919 #B12323 #D83A3A

Accessibility & contrast

On white

10.29
#7E1919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1919
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1919#FFFFFF#000000##FFFFFF
##7E19191.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383318
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1919;
/* rgb */ color: rgb(126, 25, 25);
/* oklch */ color: oklch(39.0% 0.136 26.3);
Tailwind
colors: {
  custom: {
    50: '#ab6056',
    500: '#7e1919',
    950: '#000000',
  },
}
SCSS
$custom: #7e1919;
$custom-light: #ab6056;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1919",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 25
  },
  "hsl": {
    "h": 0,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38966,
    "c": 0.13598,
    "h": 26.3
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#7E1919
secondary
#41B2B2
accent
#EAEA3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1919

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

Preview Lab → · Contrast checker → · Palette generator →

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