#7E1E1C#7E1E1C

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

Color values

HEX#7E1E1C
RGBrgb(126, 30, 28)
HSLhsl(1, 64%, 30%)
HSVhsv(1, 78%, 49%)
CMYKcmyk(0%, 76.2%, 77.8%, 50.6%)
CIE-LABlab(27.98, 40.67, 26.22)
CIE-LCHlch(27.98, 48.38, 32.81°)
OKLaboklab(39.48% 0.1174 0.0586)
OKLCHoklch(39.48% 0.131 26.5)
XYZxyz(9.2791, 5.4494, 1.6616)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E1C #1C7C7E
analogous
#7E1C4B #7E1E1C #7E4F1C
triadic
#7E1E1C #1C7E1E #1E1C7E
tetradic
#7E1E1C #4B7E1C #1C7C7E #4F1C7E
square
#7E1E1C #4B7E1C #1C7C7E #4F1C7E
split-complementary
#7E1E1C #1C7E4F #1C4B7E
monochromatic
#1A0606 #4C1211 #7E1E1C #B02A27 #D54340

Accessibility & contrast

On white

10.05
#7E1E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E1C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E1C#FFFFFF#000000##FFFFFF
##7E1E1C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1e1c;
/* rgb */ color: rgb(126, 30, 28);
/* oklch */ color: oklch(39.5% 0.131 26.5);
Tailwind
colors: {
  custom: {
    50: '#ab6258',
    500: '#7e1e1c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e1c;
$custom-light: #ab6258;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e1c",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 28
  },
  "hsl": {
    "h": 1.224,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.13123,
    "h": 26.5
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#7E1E1C
secondary
#44AFB2
accent
#E3E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7E1E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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