#7E162E#7E162E

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

Color values

HEX#7E162E
RGBrgb(126, 22, 46)
HSLhsl(346, 70%, 29%)
HSVhsv(346, 83%, 49%)
CMYKcmyk(0%, 82.5%, 63.5%, 50.6%)
CIE-LABlab(27.32, 44.38, 13.65)
CIE-LCHlch(27.32, 46.43, 17.10°)
OKLaboklab(39.09% 0.1334 0.0334)
OKLCHoklch(39.09% 0.137 14)
XYZxyz(9.3852, 5.2081, 3.0953)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E162E #167E66
analogous
#7E1662 #7E162E #7E3216
triadic
#7E162E #2E7E16 #162E7E
tetradic
#7E162E #627E16 #167E66 #32167E
square
#7E162E #627E16 #167E66 #32167E
split-complementary
#7E162E #167E32 #16627E
monochromatic
#1A050A #4A0D1B #7E162E #B21F41 #DB335A

Accessibility & contrast

On white

10.29
#7E162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E162E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E162E#FFFFFF#000000##FFFFFF
##7E162E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e162e;
/* rgb */ color: rgb(126, 22, 46);
/* oklch */ color: oklch(39.1% 0.137 14.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f66',
    500: '#7e162e',
    950: '#000000',
  },
}
SCSS
$custom: #7e162e;
$custom-light: #aa5f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e162e",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 346.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.13748,
    "h": 14
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#7E162E
secondary
#3DB398
accent
#EDC43B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E162E

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

Preview Lab → · Contrast checker → · Palette generator →

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