#7E1320#7E1320

#7E1320 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 21.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7E1320
RGBrgb(126, 19, 32)
HSLhsl(353, 74%, 28%)
HSVhsv(353, 85%, 49%)
CMYKcmyk(0%, 84.9%, 74.6%, 50.6%)
CIE-LABlab(26.75, 44.44, 22.27)
CIE-LCHlch(26.75, 49.70, 26.61°)
OKLaboklab(38.59% 0.1304 0.0509)
OKLCHoklch(38.59% 0.14 21.3)
XYZxyz(9.0988, 5.0071, 1.8536)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1320 #137E71
analogous
#7E1355 #7E1320 #7E3B13
triadic
#7E1320 #207E13 #13207E
tetradic
#7E1320 #557E13 #137E71 #3B137E
square
#7E1320 #557E13 #137E71 #3B137E
split-complementary
#7E1320 #137E3B #13557E
monochromatic
#1B0407 #490B12 #7E1320 #B31B2E #DF2C42

Accessibility & contrast

On white

10.49
#7E1320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1320 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1320
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1320#FFFFFF#000000##FFFFFF
##7E13201.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353120
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1320;
/* rgb */ color: rgb(126, 19, 32);
/* oklch */ color: oklch(38.6% 0.140 21.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e5b',
    500: '#7e1320',
    950: '#000000',
  },
}
SCSS
$custom: #7e1320;
$custom-light: #ab5e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1320",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 32
  },
  "hsl": {
    "h": 352.71,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.13994,
    "h": 21.3
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#7E1320
secondary
#39B4A5
accent
#F0DA37
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1320

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

Preview Lab → · Contrast checker → · Palette generator →

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