#7E1617#7E1617

#7E1617 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 26.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7E1617
RGBrgb(126, 22, 23)
HSLhsl(359, 70%, 29%)
HSVhsv(359, 83%, 49%)
CMYKcmyk(0%, 82.5%, 81.7%, 50.6%)
CIE-LABlab(26.94, 43.20, 28.17)
CIE-LCHlch(26.94, 51.57, 33.11°)
OKLaboklab(38.69% 0.1243 0.0613)
OKLCHoklch(38.69% 0.139 26.3)
XYZxyz(9.0469, 5.0728, 1.3132)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1617 #167E7D
analogous
#7E164B #7E1617 #7E4916
triadic
#7E1617 #177E16 #16177E
tetradic
#7E1617 #4B7E16 #167E7D #49167E
square
#7E1617 #4B7E16 #167E7D #49167E
split-complementary
#7E1617 #167E49 #164B7E
monochromatic
#1A0505 #4A0D0D #7E1617 #B21F21 #DB3335

Accessibility & contrast

On white

10.43
#7E1617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1617
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1617#FFFFFF#000000##FFFFFF
##7E16171.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1617;
/* rgb */ color: rgb(126, 22, 23);
/* oklch */ color: oklch(38.7% 0.139 26.3);
Tailwind
colors: {
  custom: {
    50: '#ac5f54',
    500: '#7e1617',
    950: '#000000',
  },
}
SCSS
$custom: #7e1617;
$custom-light: #ac5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1617",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 359.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.13859,
    "h": 26.3
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#7E1617
secondary
#3DB3B2
accent
#EDEB3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7E1617

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

Preview Lab → · Contrast checker → · Palette generator →

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