#7E1715#7E1715

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

Color values

HEX#7E1715
RGBrgb(126, 23, 21)
HSLhsl(1, 71%, 29%)
HSVhsv(1, 83%, 49%)
CMYKcmyk(0%, 81.7%, 83.3%, 50.6%)
CIE-LABlab(27.03, 42.82, 29.46)
CIE-LCHlch(27.03, 51.98, 34.52°)
OKLaboklab(38.75% 0.1226 0.0634)
OKLCHoklch(38.75% 0.138 27.3)
XYZxyz(9.0470, 5.1040, 1.2181)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1715 #157C7E
analogous
#7E1548 #7E1715 #7E4C15
triadic
#7E1715 #157E17 #17157E
tetradic
#7E1715 #487E15 #157C7E #4C157E
square
#7E1715 #487E15 #157C7E #4C157E
split-complementary
#7E1715 #157E4C #15487E
monochromatic
#1A0504 #4A0D0C #7E1715 #B2211E #DD3431

Accessibility & contrast

On white

10.39
#7E1715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1715
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1715#FFFFFF#000000##FFFFFF
##7E17151.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1715;
/* rgb */ color: rgb(126, 23, 21);
/* oklch */ color: oklch(38.7% 0.138 27.3);
Tailwind
colors: {
  custom: {
    50: '#ac5f53',
    500: '#7e1715',
    950: '#000000',
  },
}
SCSS
$custom: #7e1715;
$custom-light: #ac5f53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1715",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 21
  },
  "hsl": {
    "h": 1.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.13807,
    "h": 27.3
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#7E1715
secondary
#3CB1B3
accent
#EBEE3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1715

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

Preview Lab → · Contrast checker → · Palette generator →

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