#7E112C#7E112C

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

Color values

HEX#7E112C
RGBrgb(126, 17, 44)
HSLhsl(345, 76%, 28%)
HSVhsv(345, 87%, 49%)
CMYKcmyk(0%, 86.5%, 65.1%, 50.6%)
CIE-LABlab(26.79, 45.63, 14.30)
CIE-LCHlch(26.79, 47.82, 17.40°)
OKLaboklab(38.69% 0.137 0.0347)
OKLCHoklch(38.69% 0.141 14.2)
XYZxyz(9.2603, 5.0198, 2.8637)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E112C #117E63
analogous
#7E1162 #7E112C #7E2D11
triadic
#7E112C #2C7E11 #112C7E
tetradic
#7E112C #627E11 #117E63 #2D117E
square
#7E112C #627E11 #117E63 #2D117E
split-complementary
#7E112C #117E2D #11627E
monochromatic
#1B0409 #480A19 #7E112C #B4183F #E22756

Accessibility & contrast

On white

10.48
#7E112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E112C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E112C#FFFFFF#000000##FFFFFF
##7E112C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e112c;
/* rgb */ color: rgb(126, 17, 44);
/* oklch */ color: oklch(38.7% 0.141 14.2);
Tailwind
colors: {
  custom: {
    50: '#aa5d64',
    500: '#7e112c',
    950: '#000000',
  },
}
SCSS
$custom: #7e112c;
$custom-light: #aa5d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e112c",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 345.138,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.14132,
    "h": 14.2
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#7E112C
secondary
#37B495
accent
#F3C435
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E112C

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

Preview Lab → · Contrast checker → · Palette generator →

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