#7E191F#7E191F

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

Color values

HEX#7E191F
RGBrgb(126, 25, 31)
HSLhsl(356, 67%, 30%)
HSVhsv(356, 80%, 49%)
CMYKcmyk(0%, 80.2%, 75.4%, 50.6%)
CIE-LABlab(27.38, 42.57, 23.65)
CIE-LCHlch(27.38, 48.70, 29.05°)
OKLaboklab(39.05% 0.1242 0.0537)
OKLCHoklch(39.05% 0.135 23.4)
XYZxyz(9.2002, 5.2313, 1.8214)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E191F #197E78
analogous
#7E1951 #7E191F #7E4619
triadic
#7E191F #1F7E19 #191F7E
tetradic
#7E191F #517E19 #197E78 #46197E
square
#7E191F #517E19 #197E78 #46197E
split-complementary
#7E191F #197E46 #19517E
monochromatic
#1A0506 #4B0F12 #7E191F #B1232C #D83A43

Accessibility & contrast

On white

10.26
#7E191F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E191F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E191F#FFFFFF#000000##FFFFFF
##7E191F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e191f;
/* rgb */ color: rgb(126, 25, 31);
/* oklch */ color: oklch(39.1% 0.135 23.4);
Tailwind
colors: {
  custom: {
    50: '#ab605a',
    500: '#7e191f',
    950: '#000000',
  },
}
SCSS
$custom: #7e191f;
$custom-light: #ab605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e191f",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 31
  },
  "hsl": {
    "h": 356.436,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3905,
    "c": 0.13529,
    "h": 23.4
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#7E191F
secondary
#41B2AB
accent
#EAE03E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E191F

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

Preview Lab → · Contrast checker → · Palette generator →

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