#7E1D22#7E1D22

#7E1D22 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.131 H 23.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7E1D22
RGBrgb(126, 29, 34)
HSLhsl(357, 63%, 30%)
HSVhsv(357, 77%, 49%)
CMYKcmyk(0%, 77%, 73%, 50.6%)
CIE-LABlab(27.93, 41.32, 22.36)
CIE-LCHlch(27.93, 46.99, 28.42°)
OKLaboklab(39.47% 0.1209 0.0515)
OKLCHoklch(39.47% 0.131 23.1)
XYZxyz(9.3333, 5.4313, 2.0700)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D22 #1D7E79
analogous
#7E1D52 #7E1D22 #7E481D
triadic
#7E1D22 #227E1D #1D227E
tetradic
#7E1D22 #527E1D #1D7E79 #481D7E
square
#7E1D22 #527E1D #1D7E79 #481D7E
split-complementary
#7E1D22 #1D7E48 #1D527E
monochromatic
#1B0607 #4C1215 #7E1D22 #B0282F #D34249

Accessibility & contrast

On white

10.07
#7E1D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D22
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D22#FFFFFF#000000##FFFFFF
##7E1D221.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393521
Deuteranopia (green-blind)
#52491F
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d22;
/* rgb */ color: rgb(126, 29, 34);
/* oklch */ color: oklch(39.5% 0.131 23.1);
Tailwind
colors: {
  custom: {
    50: '#aa625d',
    500: '#7e1d22',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d22;
$custom-light: #aa625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d22",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 356.907,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.13142,
    "h": 23.1
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#7E1D22
secondary
#45B1AC
accent
#E6DD42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1D22

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

Preview Lab → · Contrast checker → · Palette generator →

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