#7E1714#7E1714

#7E1714 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 27.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1714
RGBrgb(126, 23, 20)
HSLhsl(2, 73%, 29%)
HSVhsv(2, 84%, 49%)
CMYKcmyk(0%, 81.7%, 84.1%, 50.6%)
CIE-LABlab(27.02, 42.79, 30.03)
CIE-LCHlch(27.02, 52.28, 35.06°)
OKLaboklab(38.74% 0.1223 0.0643)
OKLCHoklch(38.74% 0.138 27.7)
XYZxyz(9.0380, 5.1004, 1.1703)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1714 #147B7E
analogous
#7E1446 #7E1714 #7E4C14
triadic
#7E1714 #147E17 #17147E
tetradic
#7E1714 #467E14 #147B7E #4C147E
square
#7E1714 #467E14 #147B7E #4C147E
split-complementary
#7E1714 #147E4C #14467E
monochromatic
#1A0504 #490D0C #7E1714 #B3211C #DE332E

Accessibility & contrast

On white

10.40
#7E1714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1714
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1714#FFFFFF#000000##FFFFFF
##7E17141.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383212
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1714;
/* rgb */ color: rgb(126, 23, 20);
/* oklch */ color: oklch(38.7% 0.138 27.7);
Tailwind
colors: {
  custom: {
    50: '#ac5f52',
    500: '#7e1714',
    950: '#000000',
  },
}
SCSS
$custom: #7e1714;
$custom-light: #ac5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1714",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 20
  },
  "hsl": {
    "h": 1.698,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.13821,
    "h": 27.7
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#7E1714
secondary
#3AB0B3
accent
#EAEF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1714

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

Preview Lab → · Contrast checker → · Palette generator →

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