#7E1820#7E1820

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

Color values

HEX#7E1820
RGBrgb(126, 24, 32)
HSLhsl(355, 68%, 29%)
HSVhsv(355, 81%, 49%)
CMYKcmyk(0%, 81%, 74.6%, 50.6%)
CIE-LABlab(27.28, 42.95, 22.89)
CIE-LCHlch(27.28, 48.67, 28.05°)
OKLaboklab(38.98% 0.1256 0.0523)
OKLCHoklch(38.98% 0.136 22.6)
XYZxyz(9.1926, 5.1946, 1.8849)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1820 #187E76
analogous
#7E1853 #7E1820 #7E4318
triadic
#7E1820 #207E18 #18207E
tetradic
#7E1820 #537E18 #187E76 #43187E
square
#7E1820 #537E18 #187E76 #43187E
split-complementary
#7E1820 #187E43 #18537E
monochromatic
#1A0507 #4B0E13 #7E1820 #B1222D #D93744

Accessibility & contrast

On white

10.30
#7E1820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1820
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1820#FFFFFF#000000##FFFFFF
##7E18201.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37331F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1820;
/* rgb */ color: rgb(126, 24, 32);
/* oklch */ color: oklch(39.0% 0.136 22.6);
Tailwind
colors: {
  custom: {
    50: '#ab5f5b',
    500: '#7e1820',
    950: '#000000',
  },
}
SCSS
$custom: #7e1820;
$custom-light: #ab5f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1820",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 355.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.13604,
    "h": 22.6
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#7E1820
secondary
#3FB2A9
accent
#EBDD3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1820

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

Preview Lab → · Contrast checker → · Palette generator →

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