#7E1815#7E1815

#7E1815 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.137 H 27.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7E1815
RGBrgb(126, 24, 21)
HSLhsl(2, 71%, 29%)
HSVhsv(2, 83%, 49%)
CMYKcmyk(0%, 81%, 83.3%, 50.6%)
CIE-LABlab(27.14, 42.50, 29.57)
CIE-LCHlch(27.14, 51.78, 34.83°)
OKLaboklab(38.83% 0.1216 0.0637)
OKLCHoklch(38.83% 0.137 27.6)
XYZxyz(9.0673, 5.1445, 1.2249)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1815 #157B7E
analogous
#7E1547 #7E1815 #7E4D15
triadic
#7E1815 #157E18 #18157E
tetradic
#7E1815 #477E15 #157B7E #4D157E
square
#7E1815 #477E15 #157B7E #4D157E
split-complementary
#7E1815 #157E4D #15477E
monochromatic
#1A0504 #4A0E0C #7E1815 #B2221E #DD3631

Accessibility & contrast

On white

10.35
#7E1815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1815
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1815#FFFFFF#000000##FFFFFF
##7E18151.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383213
Deuteranopia (green-blind)
#514810
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1815;
/* rgb */ color: rgb(126, 24, 21);
/* oklch */ color: oklch(38.8% 0.137 27.6);
Tailwind
colors: {
  custom: {
    50: '#ac5f53',
    500: '#7e1815',
    950: '#000000',
  },
}
SCSS
$custom: #7e1815;
$custom-light: #ac5f53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1815",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 21
  },
  "hsl": {
    "h": 1.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.1373,
    "h": 27.6
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#7E1815
secondary
#3CB0B3
accent
#E9EE3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1815

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

Preview Lab → · Contrast checker → · Palette generator →

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