#7E191C#7E191C

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

Color values

HEX#7E191C
RGBrgb(126, 25, 28)
HSLhsl(358, 67%, 30%)
HSVhsv(358, 80%, 49%)
CMYKcmyk(0%, 80.2%, 77.8%, 50.6%)
CIE-LABlab(27.34, 42.44, 25.51)
CIE-LCHlch(27.34, 49.52, 31.01°)
OKLaboklab(39.01% 0.123 0.0571)
OKLCHoklch(39.01% 0.136 24.9)
XYZxyz(9.1625, 5.2162, 1.6228)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E191C #197E7B
analogous
#7E194F #7E191C #7E4919
triadic
#7E191C #1C7E19 #191C7E
tetradic
#7E191C #4F7E19 #197E7B #49197E
square
#7E191C #4F7E19 #197E7B #49197E
split-complementary
#7E191C #197E49 #194F7E
monochromatic
#1A0506 #4B0F11 #7E191C #B12327 #D83A3E

Accessibility & contrast

On white

10.28
#7E191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E191C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E191C#FFFFFF#000000##FFFFFF
##7E191C1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#514818
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e191c;
/* rgb */ color: rgb(126, 25, 28);
/* oklch */ color: oklch(39.0% 0.136 24.9);
Tailwind
colors: {
  custom: {
    50: '#ab6058',
    500: '#7e191c',
    950: '#000000',
  },
}
SCSS
$custom: #7e191c;
$custom-light: #ab6058;
$custom-dark: #000000;
JSON
{
  "hex": "#7e191c",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 358.218,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.13561,
    "h": 24.9
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#7E191C
secondary
#41B2AF
accent
#EAE53E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7E191C

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

Preview Lab → · Contrast checker → · Palette generator →

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