#7E1C13#7E1C13

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

Color values

HEX#7E1C13
RGBrgb(126, 28, 19)
HSLhsl(5, 74%, 28%)
HSVhsv(5, 85%, 49%)
CMYKcmyk(0%, 77.8%, 84.9%, 50.6%)
CIE-LABlab(27.61, 41.07, 31.18)
CIE-LCHlch(27.61, 51.56, 37.20°)
OKLaboklab(39.18% 0.1167 0.0665)
OKLCHoklch(39.18% 0.134 29.7)
XYZxyz(9.1381, 5.3146, 1.1606)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C13 #13757E
analogous
#7E133F #7E1C13 #7E5113
triadic
#7E1C13 #137E1C #1C137E
tetradic
#7E1C13 #3F7E13 #13757E #51137E
square
#7E1C13 #3F7E13 #13757E #51137E
split-complementary
#7E1C13 #137E51 #133F7E
monochromatic
#1B0604 #49100B #7E1C13 #B3281B #DF3B2C

Accessibility & contrast

On white

10.18
#7E1C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C13
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C13#FFFFFF#000000##FFFFFF
##7E1C131.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3311
Deuteranopia (green-blind)
#52490E
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1c13;
/* rgb */ color: rgb(126, 28, 19);
/* oklch */ color: oklch(39.2% 0.134 29.7);
Tailwind
colors: {
  custom: {
    50: '#ac6152',
    500: '#7e1c13',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c13;
$custom-light: #ac6152;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c13",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 19
  },
  "hsl": {
    "h": 5.047,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.13432,
    "h": 29.7
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#7E1C13
secondary
#39A9B4
accent
#E1F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1C13

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

Preview Lab → · Contrast checker → · Palette generator →

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