#7E1F19#7E1F19

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

Color values

HEX#7E1F19
RGBrgb(126, 31, 25)
HSLhsl(4, 67%, 30%)
HSVhsv(4, 80%, 49%)
CMYKcmyk(0%, 75.4%, 80.2%, 50.6%)
CIE-LABlab(28.08, 40.16, 28.16)
CIE-LCHlch(28.08, 49.05, 35.04°)
OKLaboklab(39.54% 0.1152 0.062)
OKLCHoklch(39.54% 0.131 28.3)
XYZxyz(9.2707, 5.4872, 1.4905)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F19 #19787E
analogous
#7E1946 #7E1F19 #7E5119
triadic
#7E1F19 #197E1F #1F197E
tetradic
#7E1F19 #467E19 #19787E #51197E
square
#7E1F19 #467E19 #19787E #51197E
split-complementary
#7E1F19 #197E51 #19467E
monochromatic
#1A0605 #4B120F #7E1F19 #B12C23 #D8433A

Accessibility & contrast

On white

10.01
#7E1F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F19
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F19#FFFFFF#000000##FFFFFF
##7E1F191.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3517
Deuteranopia (green-blind)
#534A15
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1f19;
/* rgb */ color: rgb(126, 31, 25);
/* oklch */ color: oklch(39.5% 0.131 28.3);
Tailwind
colors: {
  custom: {
    50: '#ab6256',
    500: '#7e1f19',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f19;
$custom-light: #ab6256;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f19",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 3.564,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39544,
    "c": 0.13076,
    "h": 28.3
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#7E1F19
secondary
#41ABB2
accent
#E0EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7E1F19

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

Preview Lab → · Contrast checker → · Palette generator →

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