#7E162D#7E162D

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

Color values

HEX#7E162D
RGBrgb(126, 22, 45)
HSLhsl(347, 70%, 29%)
HSVhsv(347, 83%, 49%)
CMYKcmyk(0%, 82.5%, 64.3%, 50.6%)
CIE-LABlab(27.30, 44.31, 14.29)
CIE-LCHlch(27.30, 46.56, 17.88°)
OKLaboklab(39.07% 0.133 0.0348)
OKLCHoklch(39.07% 0.137 14.7)
XYZxyz(9.3657, 5.2003, 2.9927)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E162D #167E67
analogous
#7E1661 #7E162D #7E3316
triadic
#7E162D #2D7E16 #162D7E
tetradic
#7E162D #617E16 #167E67 #33167E
square
#7E162D #617E16 #167E67 #33167E
split-complementary
#7E162D #167E33 #16617E
monochromatic
#1A0509 #4A0D1A #7E162D #B21F40 #DB3358

Accessibility & contrast

On white

10.30
#7E162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E162D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E162D#FFFFFF#000000##FFFFFF
##7E162D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332D
Deuteranopia (green-blind)
#4F482A
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e162d;
/* rgb */ color: rgb(126, 22, 45);
/* oklch */ color: oklch(39.1% 0.137 14.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f65',
    500: '#7e162d',
    950: '#000000',
  },
}
SCSS
$custom: #7e162d;
$custom-light: #aa5f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7e162d",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 346.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.13742,
    "h": 14.7
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#7E162D
secondary
#3DB399
accent
#EDC63B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E162D

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

Preview Lab → · Contrast checker → · Palette generator →

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