#7E1F13#7E1F13

#7E1F13 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.132 H 30.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7E1F13
RGBrgb(126, 31, 19)
HSLhsl(7, 74%, 28%)
HSVhsv(7, 85%, 49%)
CMYKcmyk(0%, 75.4%, 84.9%, 50.6%)
CIE-LABlab(28.02, 39.95, 31.56)
CIE-LCHlch(28.02, 50.91, 38.31°)
OKLaboklab(39.48% 0.1132 0.0673)
OKLCHoklch(39.48% 0.132 30.7)
XYZxyz(9.2128, 5.4640, 1.1855)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F13 #13727E
analogous
#7E133C #7E1F13 #7E5413
triadic
#7E1F13 #137E1F #1F137E
tetradic
#7E1F13 #3C7E13 #13727E #54137E
square
#7E1F13 #3C7E13 #13727E #54137E
split-complementary
#7E1F13 #137E54 #133C7E
monochromatic
#1B0704 #49120B #7E1F13 #B32C1B #DF402C

Accessibility & contrast

On white

10.04
#7E1F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F13
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F13#FFFFFF#000000##FFFFFF
##7E1F131.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3510
Deuteranopia (green-blind)
#534A0E
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1f13;
/* rgb */ color: rgb(126, 31, 19);
/* oklch */ color: oklch(39.5% 0.132 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6252',
    500: '#7e1f13',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f13;
$custom-light: #ac6252;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f13",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 6.729,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39478,
    "c": 0.13172,
    "h": 30.7
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#7E1F13
secondary
#39A6B4
accent
#DCF037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1F13

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

Preview Lab → · Contrast checker → · Palette generator →

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