#7E1922#7E1922

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

Color values

HEX#7E1922
RGBrgb(126, 25, 34)
HSLhsl(355, 67%, 30%)
HSVhsv(355, 80%, 49%)
CMYKcmyk(0%, 80.2%, 73%, 50.6%)
CIE-LABlab(27.43, 42.72, 21.76)
CIE-LCHlch(27.43, 47.95, 27.00°)
OKLaboklab(39.1% 0.1254 0.0502)
OKLCHoklch(39.1% 0.135 21.8)
XYZxyz(9.2416, 5.2478, 2.0394)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1922 #197E75
analogous
#7E1955 #7E1922 #7E4219
triadic
#7E1922 #227E19 #19227E
tetradic
#7E1922 #557E19 #197E75 #42197E
square
#7E1922 #557E19 #197E75 #42197E
split-complementary
#7E1922 #197E42 #19557E
monochromatic
#1A0507 #4B0F14 #7E1922 #B12330 #D83A48

Accessibility & contrast

On white

10.25
#7E1922 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1922
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1922#FFFFFF#000000##FFFFFF
##7E19221.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373321
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1922;
/* rgb */ color: rgb(126, 25, 34);
/* oklch */ color: oklch(39.1% 0.135 21.8);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7e1922',
    950: '#000000',
  },
}
SCSS
$custom: #7e1922;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1922",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 34
  },
  "hsl": {
    "h": 354.653,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.13503,
    "h": 21.8
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#7E1922
secondary
#41B2A8
accent
#EADA3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1922

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

Preview Lab → · Contrast checker → · Palette generator →

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