#7E1B11#7E1B11

#7E1B11 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 30.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7E1B11
RGBrgb(126, 27, 17)
HSLhsl(6, 76%, 28%)
HSVhsv(6, 87%, 49%)
CMYKcmyk(0%, 78.6%, 86.5%, 50.6%)
CIE-LABlab(27.47, 41.37, 32.15)
CIE-LCHlch(27.47, 52.39, 37.85°)
OKLaboklab(39.06% 0.1173 0.0678)
OKLCHoklch(39.06% 0.135 30)
XYZxyz(9.0984, 5.2614, 1.0667)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B11 #11747E
analogous
#7E113D #7E1B11 #7E5211
triadic
#7E1B11 #117E1B #1B117E
tetradic
#7E1B11 #3D7E11 #11747E #52117E
square
#7E1B11 #3D7E11 #11747E #52117E
split-complementary
#7E1B11 #117E52 #113D7E
monochromatic
#1B0604 #480F0A #7E1B11 #B42718 #E23927

Accessibility & contrast

On white

10.23
#7E1B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B11
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B11#FFFFFF#000000##FFFFFF
##7E1B111.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330E
Deuteranopia (green-blind)
#52490B
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b11;
/* rgb */ color: rgb(126, 27, 17);
/* oklch */ color: oklch(39.1% 0.135 30.0);
Tailwind
colors: {
  custom: {
    50: '#ac6050',
    500: '#7e1b11',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b11;
$custom-light: #ac6050;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b11",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 17
  },
  "hsl": {
    "h": 5.505,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.13545,
    "h": 30
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#7E1B11
secondary
#37A9B4
accent
#E1F335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1B11

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

Preview Lab → · Contrast checker → · Palette generator →

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