#7E1D12#7E1D12

#7E1D12 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.134 H 30.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1D12
RGBrgb(126, 29, 18)
HSLhsl(6, 75%, 28%)
HSVhsv(6, 86%, 49%)
CMYKcmyk(0%, 77%, 85.7%, 50.6%)
CIE-LABlab(27.74, 40.67, 31.85)
CIE-LCHlch(27.74, 51.66, 38.06°)
OKLaboklab(39.26% 0.1153 0.0676)
OKLCHoklch(39.26% 0.134 30.4)
XYZxyz(9.1538, 5.3595, 1.1246)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D12 #12737E
analogous
#7E123D #7E1D12 #7E5312
triadic
#7E1D12 #127E1D #1D127E
tetradic
#7E1D12 #3D7E12 #12737E #53127E
square
#7E1D12 #3D7E12 #12737E #53127E
split-complementary
#7E1D12 #127E53 #123D7E
monochromatic
#1B0604 #48110A #7E1D12 #B4291A #E13C2A

Accessibility & contrast

On white

10.14
#7E1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D12
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D12#FFFFFF#000000##FFFFFF
##7E1D121.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1d12;
/* rgb */ color: rgb(126, 29, 18);
/* oklch */ color: oklch(39.3% 0.134 30.4);
Tailwind
colors: {
  custom: {
    50: '#ac6151',
    500: '#7e1d12',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d12;
$custom-light: #ac6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d12",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 6.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.13362,
    "h": 30.4
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#7E1D12
secondary
#38A7B4
accent
#DFF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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