#7E111F#7E111F

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

Color values

HEX#7E111F
RGBrgb(126, 17, 31)
HSLhsl(352, 76%, 28%)
HSVhsv(352, 87%, 49%)
CMYKcmyk(0%, 86.5%, 75.4%, 50.6%)
CIE-LABlab(26.55, 44.92, 22.68)
CIE-LCHlch(26.55, 50.32, 26.79°)
OKLaboklab(38.44% 0.1316 0.0516)
OKLCHoklch(38.44% 0.141 21.4)
XYZxyz(9.0530, 4.9369, 1.7723)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E111F #117E70
analogous
#7E1155 #7E111F #7E3A11
triadic
#7E111F #1F7E11 #111F7E
tetradic
#7E111F #557E11 #117E70 #3A117E
square
#7E111F #557E11 #117E70 #3A117E
split-complementary
#7E111F #117E3A #11557E
monochromatic
#1B0407 #480A12 #7E111F #B4182C #E2273F

Accessibility & contrast

On white

10.57
#7E111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E111F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E111F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E111F#FFFFFF#000000##FFFFFF
##7E111F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e111f;
/* rgb */ color: rgb(126, 17, 31);
/* oklch */ color: oklch(38.4% 0.141 21.4);
Tailwind
colors: {
  custom: {
    50: '#ab5d5a',
    500: '#7e111f',
    950: '#000000',
  },
}
SCSS
$custom: #7e111f;
$custom-light: #ab5d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e111f",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 352.294,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.14139,
    "h": 21.4
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#7E111F
secondary
#37B4A4
accent
#F3DA35
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E111F

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

Preview Lab → · Contrast checker → · Palette generator →

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