#7E101B#7E101B

#7E101B is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 23.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#7E101B
RGBrgb(126, 16, 27)
HSLhsl(354, 77%, 28%)
HSVhsv(354, 87%, 49%)
CMYKcmyk(0%, 87.3%, 78.6%, 50.6%)
CIE-LABlab(26.41, 45.00, 25.10)
CIE-LCHlch(26.41, 51.53, 29.16°)
OKLaboklab(38.31% 0.1309 0.0559)
OKLCHoklch(38.31% 0.142 23.1)
XYZxyz(8.9884, 4.8868, 1.5067)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E101B #107E73
analogous
#7E1052 #7E101B #7E3C10
triadic
#7E101B #1B7E10 #101B7E
tetradic
#7E101B #527E10 #107E73 #3C107E
square
#7E101B #527E10 #107E73 #3C107E
split-complementary
#7E101B #107E3C #10527E
monochromatic
#1B0306 #48090F #7E101B #B41727 #E32538

Accessibility & contrast

On white

10.62
#7E101B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E101B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E101B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E101B#FFFFFF#000000##FFFFFF
##7E101B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7e101b;
/* rgb */ color: rgb(126, 16, 27);
/* oklch */ color: oklch(38.3% 0.142 23.1);
Tailwind
colors: {
  custom: {
    50: '#ac5d57',
    500: '#7e101b',
    950: '#000000',
  },
}
SCSS
$custom: #7e101b;
$custom-light: #ac5d57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e101b",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 27
  },
  "hsl": {
    "h": 354,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.14234,
    "h": 23.1
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#7E101B
secondary
#36B4A8
accent
#F4E134
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E101B

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

Preview Lab → · Contrast checker → · Palette generator →

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