#7E1B26#7E1B26

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

Color values

HEX#7E1B26
RGBrgb(126, 27, 38)
HSLhsl(353, 65%, 30%)
HSVhsv(353, 79%, 49%)
CMYKcmyk(0%, 78.6%, 69.8%, 50.6%)
CIE-LABlab(27.74, 42.26, 19.52)
CIE-LCHlch(27.74, 46.55, 24.80°)
OKLaboklab(39.35% 0.1248 0.0459)
OKLCHoklch(39.35% 0.133 20.2)
XYZxyz(9.3470, 5.3608, 2.3759)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B26 #1B7E73
analogous
#7E1B58 #7E1B26 #7E411B
triadic
#7E1B26 #267E1B #1B267E
tetradic
#7E1B26 #587E1B #1B7E73 #411B7E
square
#7E1B26 #587E1B #1B7E73 #411B7E
split-complementary
#7E1B26 #1B7E41 #1B587E
monochromatic
#190508 #4C1017 #7E1B26 #B02635 #D63E4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1B26#FFFFFF#000000##FFFFFF
##7E1B261.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)
#383426
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b26;
/* rgb */ color: rgb(126, 27, 38);
/* oklch */ color: oklch(39.4% 0.133 20.2);
Tailwind
colors: {
  custom: {
    50: '#aa6160',
    500: '#7e1b26',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b26;
$custom-light: #aa6160;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b26",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 353.333,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.13297,
    "h": 20.2
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#7E1B26
secondary
#43B2A6
accent
#E8D540
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1B26

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

Preview Lab → · Contrast checker → · Palette generator →

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