#7E1C14#7E1C14

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

Color values

HEX#7E1C14
RGBrgb(126, 28, 20)
HSLhsl(5, 73%, 29%)
HSVhsv(5, 84%, 49%)
CMYKcmyk(0%, 77.8%, 84.1%, 50.6%)
CIE-LABlab(27.62, 41.10, 30.62)
CIE-LCHlch(27.62, 51.25, 36.69°)
OKLaboklab(39.19% 0.117 0.0656)
OKLCHoklch(39.19% 0.134 29.3)
XYZxyz(9.1468, 5.3181, 1.2066)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C14 #14767E
analogous
#7E1441 #7E1C14 #7E5114
triadic
#7E1C14 #147E1C #1C147E
tetradic
#7E1C14 #417E14 #14767E #51147E
square
#7E1C14 #417E14 #14767E #51147E
split-complementary
#7E1C14 #147E51 #14417E
monochromatic
#1A0604 #49100C #7E1C14 #B3281C #DE3C2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1C14#FFFFFF#000000##FFFFFF
##7E1C141.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)
#3A3312
Deuteranopia (green-blind)
#52490F
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1c14;
/* rgb */ color: rgb(126, 28, 20);
/* oklch */ color: oklch(39.2% 0.134 29.3);
Tailwind
colors: {
  custom: {
    50: '#ac6152',
    500: '#7e1c14',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c14;
$custom-light: #ac6152;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c14",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 20
  },
  "hsl": {
    "h": 4.528,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.13417,
    "h": 29.3
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#7E1C14
secondary
#3AAAB3
accent
#E2EF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1C14

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

Preview Lab → · Contrast checker → · Palette generator →

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