#7E1926#7E1926

#7E1926 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.135 H 19.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1926
RGBrgb(126, 25, 38)
HSLhsl(352, 67%, 30%)
HSVhsv(352, 80%, 49%)
CMYKcmyk(0%, 80.2%, 69.8%, 50.6%)
CIE-LABlab(27.50, 42.94, 19.22)
CIE-LCHlch(27.50, 47.04, 24.12°)
OKLaboklab(39.17% 0.127 0.0452)
OKLCHoklch(39.17% 0.135 19.6)
XYZxyz(9.3027, 5.2722, 2.3612)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1926 #197E71
analogous
#7E1959 #7E1926 #7E3F19
triadic
#7E1926 #267E19 #19267E
tetradic
#7E1926 #597E19 #197E71 #3F197E
square
#7E1926 #597E19 #197E71 #3F197E
split-complementary
#7E1926 #197E3F #19597E
monochromatic
#1A0508 #4B0F17 #7E1926 #B12335 #D83A4E

Accessibility & contrast

On white

10.22
#7E1926 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1926
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1926#FFFFFF#000000##FFFFFF
##7E19261.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373326
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1926;
/* rgb */ color: rgb(126, 25, 38);
/* oklch */ color: oklch(39.2% 0.135 19.6);
Tailwind
colors: {
  custom: {
    50: '#aa6060',
    500: '#7e1926',
    950: '#000000',
  },
}
SCSS
$custom: #7e1926;
$custom-light: #aa6060;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1926",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 38
  },
  "hsl": {
    "h": 352.277,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39171,
    "c": 0.13479,
    "h": 19.6
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#7E1926
secondary
#41B2A4
accent
#EAD43E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1926

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

Preview Lab → · Contrast checker → · Palette generator →

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