#7E1421#7E1421

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

Color values

HEX#7E1421
RGBrgb(126, 20, 33)
HSLhsl(353, 73%, 29%)
HSVhsv(353, 84%, 49%)
CMYKcmyk(0%, 84.1%, 73.8%, 50.6%)
CIE-LABlab(26.87, 44.21, 21.75)
CIE-LCHlch(26.87, 49.27, 26.19°)
OKLaboklab(38.68% 0.1299 0.05)
OKLCHoklch(38.68% 0.139 21)
XYZxyz(9.1299, 5.0472, 1.9320)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1421 #147E71
analogous
#7E1456 #7E1421 #7E3C14
triadic
#7E1421 #217E14 #14217E
tetradic
#7E1421 #567E14 #147E71 #3C147E
square
#7E1421 #567E14 #147E71 #3C147E
split-complementary
#7E1421 #147E3C #14567E
monochromatic
#1A0407 #490C13 #7E1421 #B31C2F #DE2E44

Accessibility & contrast

On white

10.45
#7E1421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1421
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1421#FFFFFF#000000##FFFFFF
##7E14211.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353121
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1421;
/* rgb */ color: rgb(126, 20, 33);
/* oklch */ color: oklch(38.7% 0.139 21.0);
Tailwind
colors: {
  custom: {
    50: '#ab5e5c',
    500: '#7e1421',
    950: '#000000',
  },
}
SCSS
$custom: #7e1421;
$custom-light: #ab5e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1421",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 33
  },
  "hsl": {
    "h": 352.642,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38678,
    "c": 0.13914,
    "h": 21
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#7E1421
secondary
#3AB3A5
accent
#EFD938
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1421

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

Preview Lab → · Contrast checker → · Palette generator →

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