#7E1512#7E1512

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

Color values

HEX#7E1512
RGBrgb(126, 21, 18)
HSLhsl(2, 75%, 28%)
HSVhsv(2, 86%, 49%)
CMYKcmyk(0%, 83.3%, 85.7%, 50.6%)
CIE-LABlab(26.78, 43.34, 30.96)
CIE-LCHlch(26.78, 53.26, 35.54°)
OKLaboklab(38.56% 0.1236 0.0656)
OKLCHoklch(38.56% 0.14 27.9)
XYZxyz(8.9827, 5.0171, 1.0676)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1512 #127B7E
analogous
#7E1245 #7E1512 #7E4B12
triadic
#7E1512 #127E15 #15127E
tetradic
#7E1512 #457E12 #127B7E #4B127E
square
#7E1512 #457E12 #127B7E #4B127E
split-complementary
#7E1512 #127E4B #12457E
monochromatic
#1B0404 #480C0A #7E1512 #B41E1A #E12F2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1512#FFFFFF#000000##FFFFFF
##7E15121.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)
#373110
Deuteranopia (green-blind)
#51470C
Tritanopia (blue-blind)
#8C0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1512;
/* rgb */ color: rgb(126, 21, 18);
/* oklch */ color: oklch(38.6% 0.140 27.9);
Tailwind
colors: {
  custom: {
    50: '#ac5e51',
    500: '#7e1512',
    950: '#000000',
  },
}
SCSS
$custom: #7e1512;
$custom-light: #ac5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1512",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 1.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.13993,
    "h": 27.9
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#7E1512
secondary
#38B0B4
accent
#ECF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1512

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

Preview Lab → · Contrast checker → · Palette generator →

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