#7E1D16#7E1D16

#7E1D16 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 28.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7E1D16
RGBrgb(126, 29, 22)
HSLhsl(4, 70%, 29%)
HSVhsv(4, 83%, 49%)
CMYKcmyk(0%, 77%, 82.5%, 50.6%)
CIE-LABlab(27.77, 40.80, 29.62)
CIE-LCHlch(27.77, 50.42, 35.97°)
OKLaboklab(39.31% 0.1165 0.0642)
OKLCHoklch(39.31% 0.133 28.8)
XYZxyz(9.1895, 5.3737, 1.3123)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D16 #16777E
analogous
#7E1643 #7E1D16 #7E5116
triadic
#7E1D16 #167E1D #1D167E
tetradic
#7E1D16 #437E16 #16777E #51167E
square
#7E1D16 #437E16 #16777E #51167E
split-complementary
#7E1D16 #167E51 #16437E
monochromatic
#1A0605 #4A110D #7E1D16 #B2291F #DB3E33

Accessibility & contrast

On white

10.12
#7E1D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D16
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D16#FFFFFF#000000##FFFFFF
##7E1D161.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3414
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d16;
/* rgb */ color: rgb(126, 29, 22);
/* oklch */ color: oklch(39.3% 0.133 28.8);
Tailwind
colors: {
  custom: {
    50: '#ab6154',
    500: '#7e1d16',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d16;
$custom-light: #ab6154;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d16",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 22
  },
  "hsl": {
    "h": 4.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.13301,
    "h": 28.8
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#7E1D16
secondary
#3DABB3
accent
#E1ED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1D16

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

Preview Lab → · Contrast checker → · Palette generator →

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