#7E1E22#7E1E22

#7E1E22 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 23.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7E1E22
RGBrgb(126, 30, 34)
HSLhsl(358, 62%, 31%)
HSVhsv(358, 76%, 49%)
CMYKcmyk(0%, 76.2%, 73%, 50.6%)
CIE-LABlab(28.06, 40.95, 22.52)
CIE-LCHlch(28.06, 46.74, 28.81°)
OKLaboklab(39.57% 0.1197 0.0519)
OKLCHoklch(39.57% 0.13 23.4)
XYZxyz(9.3582, 5.4811, 2.0783)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E22 #1E7E7A
analogous
#7E1E52 #7E1E22 #7E4A1E
triadic
#7E1E22 #227E1E #1E227E
tetradic
#7E1E22 #527E1E #1E7E7A #4A1E7E
square
#7E1E22 #527E1E #1E7E7A #4A1E7E
split-complementary
#7E1E22 #1E7E4A #1E527E
monochromatic
#1B0607 #4D1215 #7E1E22 #AF2A2F #D2444A

Accessibility & contrast

On white

10.02
#7E1E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E22
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E22#FFFFFF#000000##FFFFFF
##7E1E221.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e22;
/* rgb */ color: rgb(126, 30, 34);
/* oklch */ color: oklch(39.6% 0.130 23.4);
Tailwind
colors: {
  custom: {
    50: '#aa625d',
    500: '#7e1e22',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e22;
$custom-light: #aa625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e22",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 357.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.13046,
    "h": 23.4
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#7E1E22
secondary
#47B1AD
accent
#E5DE43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1E22

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

Preview Lab → · Contrast checker → · Palette generator →

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