#7E1219#7E1219

#7E1219 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 24.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7E1219
RGBrgb(126, 18, 25)
HSLhsl(356, 75%, 28%)
HSVhsv(356, 86%, 49%)
CMYKcmyk(0%, 85.7%, 80.2%, 50.6%)
CIE-LABlab(26.56, 44.41, 26.54)
CIE-LCHlch(26.56, 51.74, 30.86°)
OKLaboklab(38.42% 0.1286 0.0584)
OKLCHoklch(38.42% 0.141 24.4)
XYZxyz(8.9971, 4.9399, 1.3993)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1219 #127E77
analogous
#7E124F #7E1219 #7E4112
triadic
#7E1219 #197E12 #12197E
tetradic
#7E1219 #4F7E12 #127E77 #41127E
square
#7E1219 #4F7E12 #127E77 #41127E
split-complementary
#7E1219 #127E41 #124F7E
monochromatic
#1B0405 #480A0E #7E1219 #B41A24 #E12A36

Accessibility & contrast

On white

10.57
#7E1219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E1219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1219
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1219#FFFFFF#000000##FFFFFF
##7E12191.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353018
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1219;
/* rgb */ color: rgb(126, 18, 25);
/* oklch */ color: oklch(38.4% 0.141 24.4);
Tailwind
colors: {
  custom: {
    50: '#ac5d56',
    500: '#7e1219',
    950: '#000000',
  },
}
SCSS
$custom: #7e1219;
$custom-light: #ac5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1219",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 25
  },
  "hsl": {
    "h": 356.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.14122,
    "h": 24.4
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#7E1219
secondary
#38B4AC
accent
#F2E536
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1219

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

Preview Lab → · Contrast checker → · Palette generator →

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