#7E1F14#7E1F14

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

Color values

HEX#7E1F14
RGBrgb(126, 31, 20)
HSLhsl(6, 73%, 29%)
HSVhsv(6, 84%, 49%)
CMYKcmyk(0%, 75.4%, 84.1%, 50.6%)
CIE-LABlab(28.03, 39.98, 31.02)
CIE-LCHlch(28.03, 50.60, 37.80°)
OKLaboklab(39.49% 0.1135 0.0665)
OKLCHoklch(39.49% 0.132 30.4)
XYZxyz(9.2215, 5.4675, 1.2315)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F14 #14737E
analogous
#7E143E #7E1F14 #7E5414
triadic
#7E1F14 #147E1F #1F147E
tetradic
#7E1F14 #3E7E14 #14737E #54147E
square
#7E1F14 #3E7E14 #14737E #54147E
split-complementary
#7E1F14 #147E54 #143E7E
monochromatic
#1A0604 #49120C #7E1F14 #B32C1C #DE412E

Accessibility & contrast

On white

10.03
#7E1F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1F14
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F14#FFFFFF#000000##FFFFFF
##7E1F141.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1f14;
/* rgb */ color: rgb(126, 31, 20);
/* oklch */ color: oklch(39.5% 0.132 30.4);
Tailwind
colors: {
  custom: {
    50: '#ab6253',
    500: '#7e1f14',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f14;
$custom-light: #ab6253;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f14",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 20
  },
  "hsl": {
    "h": 6.226,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39488,
    "c": 0.13156,
    "h": 30.4
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#7E1F14
secondary
#3AA7B3
accent
#DCEF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1F14

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

Preview Lab → · Contrast checker → · Palette generator →

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