#7E1814#7E1814

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

Color values

HEX#7E1814
RGBrgb(126, 24, 20)
HSLhsl(2, 73%, 29%)
HSVhsv(2, 84%, 49%)
CMYKcmyk(0%, 81%, 84.1%, 50.6%)
CIE-LABlab(27.13, 42.47, 30.14)
CIE-LCHlch(27.13, 52.08, 35.37°)
OKLaboklab(38.82% 0.1213 0.0646)
OKLCHoklch(38.82% 0.137 28)
XYZxyz(9.0582, 5.1409, 1.1770)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1814 #147A7E
analogous
#7E1445 #7E1814 #7E4D14
triadic
#7E1814 #147E18 #18147E
tetradic
#7E1814 #457E14 #147A7E #4D147E
square
#7E1814 #457E14 #147A7E #4D147E
split-complementary
#7E1814 #147E4D #14457E
monochromatic
#1A0504 #490E0C #7E1814 #B3221C #DE352E

Accessibility & contrast

On white

10.36
#7E1814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1814
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1814#FFFFFF#000000##FFFFFF
##7E18141.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383212
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1814;
/* rgb */ color: rgb(126, 24, 20);
/* oklch */ color: oklch(38.8% 0.137 28.0);
Tailwind
colors: {
  custom: {
    50: '#ac5f52',
    500: '#7e1814',
    950: '#000000',
  },
}
SCSS
$custom: #7e1814;
$custom-light: #ac5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1814",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 20
  },
  "hsl": {
    "h": 2.264,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.13744,
    "h": 28
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#7E1814
secondary
#3AAFB3
accent
#E8EF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1814

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

Preview Lab → · Contrast checker → · Palette generator →

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