#7E1B22#7E1B22

#7E1B22 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.133 H 22.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7E1B22
RGBrgb(126, 27, 34)
HSLhsl(356, 65%, 30%)
HSVhsv(356, 79%, 49%)
CMYKcmyk(0%, 78.6%, 73%, 50.6%)
CIE-LABlab(27.67, 42.04, 22.06)
CIE-LCHlch(27.67, 47.48, 27.68°)
OKLaboklab(39.28% 0.1232 0.0508)
OKLCHoklch(39.28% 0.133 22.4)
XYZxyz(9.2859, 5.3364, 2.0541)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B22 #1B7E77
analogous
#7E1B53 #7E1B22 #7E461B
triadic
#7E1B22 #227E1B #1B227E
tetradic
#7E1B22 #537E1B #1B7E77 #461B7E
square
#7E1B22 #537E1B #1B7E77 #461B7E
split-complementary
#7E1B22 #1B7E46 #1B537E
monochromatic
#190507 #4C1014 #7E1B22 #B02630 #D63E49

Accessibility & contrast

On white

10.16
#7E1B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B22
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B22#FFFFFF#000000##FFFFFF
##7E1B221.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383421
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b22;
/* rgb */ color: rgb(126, 27, 34);
/* oklch */ color: oklch(39.3% 0.133 22.4);
Tailwind
colors: {
  custom: {
    50: '#ab615d',
    500: '#7e1b22',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b22;
$custom-light: #ab615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b22",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 355.758,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.13326,
    "h": 22.4
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#7E1B22
secondary
#43B2AA
accent
#E8DC40
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1B22

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

Preview Lab → · Contrast checker → · Palette generator →

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