#7E111C#7E111C

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

Color values

HEX#7E111C
RGBrgb(126, 17, 28)
HSLhsl(354, 76%, 28%)
HSVhsv(354, 87%, 49%)
CMYKcmyk(0%, 86.5%, 77.8%, 50.6%)
CIE-LABlab(26.51, 44.79, 24.58)
CIE-LCHlch(26.51, 51.09, 28.75°)
OKLaboklab(38.39% 0.1305 0.055)
OKLCHoklch(38.39% 0.142 22.9)
XYZxyz(9.0153, 4.9218, 1.5737)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E111C #117E73
analogous
#7E1152 #7E111C #7E3C11
triadic
#7E111C #1C7E11 #111C7E
tetradic
#7E111C #527E11 #117E73 #3C117E
square
#7E111C #527E11 #117E73 #3C117E
split-complementary
#7E111C #117E3C #11527E
monochromatic
#1B0406 #480A10 #7E111C #B41828 #E2273A

Accessibility & contrast

On white

10.58
#7E111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E111C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E111C#FFFFFF#000000##FFFFFF
##7E111C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e111c;
/* rgb */ color: rgb(126, 17, 28);
/* oklch */ color: oklch(38.4% 0.142 22.9);
Tailwind
colors: {
  custom: {
    50: '#ab5d58',
    500: '#7e111c',
    950: '#000000',
  },
}
SCSS
$custom: #7e111c;
$custom-light: #ab5d58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e111c",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 353.945,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3839,
    "c": 0.14161,
    "h": 22.9
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#7E111C
secondary
#37B4A7
accent
#F3E035
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E111C

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

Preview Lab → · Contrast checker → · Palette generator →

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