#7E1C17#7E1C17

#7E1C17 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 28.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7E1C17
RGBrgb(126, 28, 23)
HSLhsl(3, 69%, 29%)
HSVhsv(3, 82%, 49%)
CMYKcmyk(0%, 77.8%, 81.7%, 50.6%)
CIE-LABlab(27.65, 41.21, 28.91)
CIE-LCHlch(27.65, 50.33, 35.05°)
OKLaboklab(39.22% 0.118 0.0629)
OKLCHoklch(39.22% 0.134 28.1)
XYZxyz(9.1752, 5.3294, 1.3560)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C17 #17797E
analogous
#7E1746 #7E1C17 #7E5017
triadic
#7E1C17 #177E1C #1C177E
tetradic
#7E1C17 #467E17 #17797E #50177E
square
#7E1C17 #467E17 #17797E #50177E
split-complementary
#7E1C17 #177E50 #17467E
monochromatic
#1A0605 #4A100E #7E1C17 #B22820 #DA3D35

Accessibility & contrast

On white

10.17
#7E1C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C17
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C17#FFFFFF#000000##FFFFFF
##7E1C171.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1c17;
/* rgb */ color: rgb(126, 28, 23);
/* oklch */ color: oklch(39.2% 0.134 28.1);
Tailwind
colors: {
  custom: {
    50: '#ab6155',
    500: '#7e1c17',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c17;
$custom-light: #ab6155;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c17",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 2.913,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39219,
    "c": 0.13373,
    "h": 28.1
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#7E1C17
secondary
#3EADB3
accent
#E3EC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1C17

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

Preview Lab → · Contrast checker → · Palette generator →

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