#7E1A15#7E1A15

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

Color values

HEX#7E1A15
RGBrgb(126, 26, 21)
HSLhsl(3, 71%, 29%)
HSVhsv(3, 83%, 49%)
CMYKcmyk(0%, 79.4%, 83.3%, 50.6%)
CIE-LABlab(27.38, 41.84, 29.81)
CIE-LCHlch(27.38, 51.37, 35.47°)
OKLaboklab(39.01% 0.1196 0.0642)
OKLCHoklch(39.01% 0.136 28.2)
XYZxyz(9.1100, 5.2300, 1.2391)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A15 #15797E
analogous
#7E1545 #7E1A15 #7E4F15
triadic
#7E1A15 #157E1A #1A157E
tetradic
#7E1A15 #457E15 #15797E #4F157E
square
#7E1A15 #457E15 #15797E #4F157E
split-complementary
#7E1A15 #157E4F #15457E
monochromatic
#1A0504 #4A0F0C #7E1A15 #B2251E #DD3931

Accessibility & contrast

On white

10.26
#7E1A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A15
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A15#FFFFFF#000000##FFFFFF
##7E1A151.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393313
Deuteranopia (green-blind)
#524910
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a15;
/* rgb */ color: rgb(126, 26, 21);
/* oklch */ color: oklch(39.0% 0.136 28.2);
Tailwind
colors: {
  custom: {
    50: '#ac6053',
    500: '#7e1a15',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a15;
$custom-light: #ac6053;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a15",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 21
  },
  "hsl": {
    "h": 2.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.1357,
    "h": 28.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#7E1A15
secondary
#3CADB3
accent
#E6EE3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A15

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

Preview Lab → · Contrast checker → · Palette generator →

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