#7E1A0F#7E1A0F

#7E1A0F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 30.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7E1A0F
RGBrgb(126, 26, 15)
HSLhsl(6, 79%, 28%)
HSVhsv(6, 88%, 49%)
CMYKcmyk(0%, 79.4%, 88.1%, 50.6%)
CIE-LABlab(27.33, 41.66, 33.09)
CIE-LCHlch(27.33, 53.20, 38.46°)
OKLaboklab(38.95% 0.1178 0.069)
OKLCHoklch(38.95% 0.137 30.4)
XYZxyz(9.0609, 5.2104, 0.9805)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A0F #0F737E
analogous
#7E0F3B #7E1A0F #7E510F
triadic
#7E1A0F #0F7E1A #1A0F7E
tetradic
#7E1A0F #3B7E0F #0F737E #510F7E
square
#7E1A0F #3B7E0F #0F737E #510F7E
split-complementary
#7E1A0F #0F7E51 #0F3B7E
monochromatic
#1B0603 #470F08 #7E1A0F #B52516 #E53623

Accessibility & contrast

On white

10.29
#7E1A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A0F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A0F#FFFFFF#000000##FFFFFF
##7E1A0F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A320C
Deuteranopia (green-blind)
#524809
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a0f;
/* rgb */ color: rgb(126, 26, 15);
/* oklch */ color: oklch(39.0% 0.137 30.4);
Tailwind
colors: {
  custom: {
    50: '#ac604f',
    500: '#7e1a0f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a0f;
$custom-light: #ac604f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a0f",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 5.946,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38951,
    "c": 0.13654,
    "h": 30.4
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#7E1A0F
secondary
#34A8B5
accent
#E2F533
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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