#7E1514#7E1514

#7E1514 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 27.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7E1514
RGBrgb(126, 21, 20)
HSLhsl(1, 73%, 29%)
HSVhsv(1, 84%, 49%)
CMYKcmyk(0%, 83.3%, 84.1%, 50.6%)
CIE-LABlab(26.80, 43.40, 29.82)
CIE-LCHlch(26.80, 52.66, 34.49°)
OKLaboklab(38.58% 0.1242 0.0639)
OKLCHoklch(38.58% 0.14 27.2)
XYZxyz(8.9997, 5.0239, 1.1575)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1514 #147D7E
analogous
#7E1448 #7E1514 #7E4A14
triadic
#7E1514 #147E15 #15147E
tetradic
#7E1514 #487E14 #147D7E #4A147E
square
#7E1514 #487E14 #147D7E #4A147E
split-complementary
#7E1514 #147E4A #14487E
monochromatic
#1A0404 #490C0C #7E1514 #B31E1C #DE302E

Accessibility & contrast

On white

10.48
#7E1514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1514
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1514#FFFFFF#000000##FFFFFF
##7E15141.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373112
Deuteranopia (green-blind)
#51470F
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1514;
/* rgb */ color: rgb(126, 21, 20);
/* oklch */ color: oklch(38.6% 0.140 27.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e52',
    500: '#7e1514',
    950: '#000000',
  },
}
SCSS
$custom: #7e1514;
$custom-light: #ac5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1514",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 20
  },
  "hsl": {
    "h": 0.566,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.13969,
    "h": 27.2
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#7E1514
secondary
#3AB2B3
accent
#EEEF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1514

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

Preview Lab → · Contrast checker → · Palette generator →

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