#7E1420#7E1420

#7E1420 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.139 H 21.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1420
RGBrgb(126, 20, 32)
HSLhsl(353, 73%, 29%)
HSVhsv(353, 84%, 49%)
CMYKcmyk(0%, 84.1%, 74.6%, 50.6%)
CIE-LABlab(26.85, 44.16, 22.38)
CIE-LCHlch(26.85, 49.51, 26.88°)
OKLaboklab(38.66% 0.1295 0.0512)
OKLCHoklch(38.66% 0.139 21.6)
XYZxyz(9.1161, 5.0417, 1.8594)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1420 #147E72
analogous
#7E1455 #7E1420 #7E3D14
triadic
#7E1420 #207E14 #14207E
tetradic
#7E1420 #557E14 #147E72 #3D147E
square
#7E1420 #557E14 #147E72 #3D147E
split-complementary
#7E1420 #147E3D #14557E
monochromatic
#1A0407 #490C13 #7E1420 #B31C2D #DE2E42

Accessibility & contrast

On white

10.46
#7E1420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1420
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1420#FFFFFF#000000##FFFFFF
##7E14201.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311F
Deuteranopia (green-blind)
#50471C
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1420;
/* rgb */ color: rgb(126, 20, 32);
/* oklch */ color: oklch(38.7% 0.139 21.6);
Tailwind
colors: {
  custom: {
    50: '#ab5e5b',
    500: '#7e1420',
    950: '#000000',
  },
}
SCSS
$custom: #7e1420;
$custom-light: #ab5e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1420",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 32
  },
  "hsl": {
    "h": 353.208,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.1392,
    "h": 21.6
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#7E1420
secondary
#3AB3A6
accent
#EFDB38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1420

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

Preview Lab → · Contrast checker → · Palette generator →

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