#7E112B#7E112B

#7E112B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.141 H 14.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7E112B
RGBrgb(126, 17, 43)
HSLhsl(346, 76%, 28%)
HSVhsv(346, 87%, 49%)
CMYKcmyk(0%, 86.5%, 65.9%, 50.6%)
CIE-LABlab(26.77, 45.57, 14.95)
CIE-LCHlch(26.77, 47.95, 18.16°)
OKLaboklab(38.66% 0.1366 0.0361)
OKLCHoklch(38.66% 0.141 14.8)
XYZxyz(9.2417, 5.0124, 2.7659)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E112B #117E64
analogous
#7E1161 #7E112B #7E2D11
triadic
#7E112B #2B7E11 #112B7E
tetradic
#7E112B #617E11 #117E64 #2D117E
square
#7E112B #617E11 #117E64 #2D117E
split-complementary
#7E112B #117E2D #11617E
monochromatic
#1B0409 #480A19 #7E112B #B4183D #E22754

Accessibility & contrast

On white

10.49
#7E112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E112B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E112B#FFFFFF#000000##FFFFFF
##7E112B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e112b;
/* rgb */ color: rgb(126, 17, 43);
/* oklch */ color: oklch(38.7% 0.141 14.8);
Tailwind
colors: {
  custom: {
    50: '#aa5d64',
    500: '#7e112b',
    950: '#000000',
  },
}
SCSS
$custom: #7e112b;
$custom-light: #aa5d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e112b",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 345.688,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38664,
    "c": 0.14126,
    "h": 14.8
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#7E112B
secondary
#37B496
accent
#F3C635
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E112B

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

Preview Lab → · Contrast checker → · Palette generator →

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