#7E1A13#7E1A13

#7E1A13 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 29.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7E1A13
RGBrgb(126, 26, 19)
HSLhsl(4, 74%, 28%)
HSVhsv(4, 85%, 49%)
CMYKcmyk(0%, 79.4%, 84.9%, 50.6%)
CIE-LABlab(27.36, 41.77, 30.94)
CIE-LCHlch(27.36, 51.98, 36.52°)
OKLaboklab(38.99% 0.1189 0.0659)
OKLCHoklch(38.99% 0.136 29)
XYZxyz(9.0922, 5.2229, 1.1453)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A13 #13777E
analogous
#7E1341 #7E1A13 #7E4F13
triadic
#7E1A13 #137E1A #1A137E
tetradic
#7E1A13 #417E13 #13777E #4F137E
square
#7E1A13 #417E13 #13777E #4F137E
split-complementary
#7E1A13 #137E4F #13417E
monochromatic
#1B0504 #490F0B #7E1A13 #B3251B #DF382C

Accessibility & contrast

On white

10.27
#7E1A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A13
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A13#FFFFFF#000000##FFFFFF
##7E1A131.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393311
Deuteranopia (green-blind)
#52480E
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a13;
/* rgb */ color: rgb(126, 26, 19);
/* oklch */ color: oklch(39.0% 0.136 29.0);
Tailwind
colors: {
  custom: {
    50: '#ac6052',
    500: '#7e1a13',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a13;
$custom-light: #ac6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a13",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 19
  },
  "hsl": {
    "h": 3.925,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.13598,
    "h": 29
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#7E1A13
secondary
#39ACB4
accent
#E4F037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A13

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

Preview Lab → · Contrast checker → · Palette generator →

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