#7E1810#7E1810

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

Color values

HEX#7E1810
RGBrgb(126, 24, 16)
HSLhsl(4, 77%, 28%)
HSVhsv(4, 87%, 49%)
CMYKcmyk(0%, 81%, 87.3%, 50.6%)
CIE-LABlab(27.10, 42.35, 32.36)
CIE-LCHlch(27.10, 53.30, 37.38°)
OKLaboklab(38.78% 0.1202 0.0678)
OKLCHoklch(38.78% 0.138 29.4)
XYZxyz(9.0255, 5.1278, 1.0046)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1810 #10767E
analogous
#7E103F #7E1810 #7E4F10
triadic
#7E1810 #107E18 #18107E
tetradic
#7E1810 #3F7E10 #10767E #4F107E
square
#7E1810 #3F7E10 #10767E #4F107E
split-complementary
#7E1810 #107E4F #103F7E
monochromatic
#1B0503 #480E09 #7E1810 #B42217 #E33325

Accessibility & contrast

On white

10.37
#7E1810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1810
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1810#FFFFFF#000000##FFFFFF
##7E18101.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320D
Deuteranopia (green-blind)
#51480A
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1810;
/* rgb */ color: rgb(126, 24, 16);
/* oklch */ color: oklch(38.8% 0.138 29.4);
Tailwind
colors: {
  custom: {
    50: '#ac5f50',
    500: '#7e1810',
    950: '#000000',
  },
}
SCSS
$custom: #7e1810;
$custom-light: #ac5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1810",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 16
  },
  "hsl": {
    "h": 4.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.13796,
    "h": 29.4
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#7E1810
secondary
#36ABB4
accent
#E6F434
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1810

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

Preview Lab → · Contrast checker → · Palette generator →

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