#7E161E#7E161E

#7E161E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 23.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7E161E
RGBrgb(126, 22, 30)
HSLhsl(355, 70%, 29%)
HSVhsv(355, 83%, 49%)
CMYKcmyk(0%, 82.5%, 76.2%, 50.6%)
CIE-LABlab(27.03, 43.48, 23.88)
CIE-LCHlch(27.03, 49.61, 28.78°)
OKLaboklab(38.78% 0.1268 0.054)
OKLCHoklch(38.78% 0.138 23.1)
XYZxyz(9.1265, 5.1046, 1.7328)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E161E #167E76
analogous
#7E1652 #7E161E #7E4216
triadic
#7E161E #1E7E16 #161E7E
tetradic
#7E161E #527E16 #167E76 #42167E
square
#7E161E #527E16 #167E76 #42167E
split-complementary
#7E161E #167E42 #16527E
monochromatic
#1A0506 #4A0D12 #7E161E #B21F2A #DB3340

Accessibility & contrast

On white

10.39
#7E161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E161E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E161E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E161E#FFFFFF#000000##FFFFFF
##7E161E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e161e;
/* rgb */ color: rgb(126, 22, 30);
/* oklch */ color: oklch(38.8% 0.138 23.1);
Tailwind
colors: {
  custom: {
    50: '#ab5f5a',
    500: '#7e161e',
    950: '#000000',
  },
}
SCSS
$custom: #7e161e;
$custom-light: #ab5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e161e",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 355.385,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.13783,
    "h": 23.1
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#7E161E
secondary
#3DB3AA
accent
#EDDF3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7E161E

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

Preview Lab → · Contrast checker → · Palette generator →

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