#7E1D0F#7E1D0F

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

Color values

HEX#7E1D0F
RGBrgb(126, 29, 15)
HSLhsl(8, 79%, 28%)
HSVhsv(8, 88%, 49%)
CMYKcmyk(0%, 77%, 88.1%, 50.6%)
CIE-LABlab(27.71, 40.59, 33.43)
CIE-LCHlch(27.71, 52.58, 39.47°)
OKLaboklab(39.24% 0.1145 0.0698)
OKLCHoklch(39.24% 0.134 31.4)
XYZxyz(9.1309, 5.3503, 1.0038)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D0F #0F707E
analogous
#7E0F38 #7E1D0F #7E550F
triadic
#7E1D0F #0F7E1D #1D0F7E
tetradic
#7E1D0F #387E0F #0F707E #550F7E
square
#7E1D0F #387E0F #0F707E #550F7E
split-complementary
#7E1D0F #0F7E55 #0F387E
monochromatic
#1B0603 #471008 #7E1D0F #B52A16 #E53B23

Accessibility & contrast

On white

10.15
#7E1D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D0F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D0F#FFFFFF#000000##FFFFFF
##7E1D0F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340C
Deuteranopia (green-blind)
#534909
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1d0f;
/* rgb */ color: rgb(126, 29, 15);
/* oklch */ color: oklch(39.2% 0.134 31.4);
Tailwind
colors: {
  custom: {
    50: '#ac614f',
    500: '#7e1d0f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d0f;
$custom-light: #ac614f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d0f",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 15
  },
  "hsl": {
    "h": 7.568,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39238,
    "c": 0.13407,
    "h": 31.4
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#7E1D0F
secondary
#34A4B5
accent
#DDF533
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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