#7E1E1D#7E1E1D

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

Color values

HEX#7E1E1D
RGBrgb(126, 30, 29)
HSLhsl(1, 63%, 30%)
HSVhsv(1, 77%, 49%)
CMYKcmyk(0%, 76.2%, 77%, 50.6%)
CIE-LABlab(27.99, 40.71, 25.61)
CIE-LCHlch(27.99, 48.10, 32.17°)
OKLaboklab(39.49% 0.1178 0.0575)
OKLCHoklch(39.49% 0.131 26)
XYZxyz(9.2913, 5.4543, 1.7257)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E1D #1D7D7E
analogous
#7E1D4C #7E1E1D #7E4F1D
triadic
#7E1E1D #1D7E1E #1E1D7E
tetradic
#7E1E1D #4C7E1D #1D7D7E #4F1D7E
square
#7E1E1D #4C7E1D #1D7D7E #4F1D7E
split-complementary
#7E1E1D #1D7E4F #1D4C7E
monochromatic
#1B0606 #4C1212 #7E1E1D #B02A28 #D34342

Accessibility & contrast

On white

10.04
#7E1E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E1D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E1D#FFFFFF#000000##FFFFFF
##7E1E1D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351C
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e1d;
/* rgb */ color: rgb(126, 30, 29);
/* oklch */ color: oklch(39.5% 0.131 26.0);
Tailwind
colors: {
  custom: {
    50: '#ab6259',
    500: '#7e1e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e1d;
$custom-light: #ab6259;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e1d",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 29
  },
  "hsl": {
    "h": 0.619,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.13109,
    "h": 26
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#7E1E1D
secondary
#45B0B1
accent
#E4E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7E1E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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