#7E1E26#7E1E26

#7E1E26 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 21.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7E1E26
RGBrgb(126, 30, 38)
HSLhsl(355, 62%, 31%)
HSVhsv(355, 76%, 49%)
CMYKcmyk(0%, 76.2%, 69.8%, 50.6%)
CIE-LABlab(28.13, 41.17, 20.01)
CIE-LCHlch(28.13, 45.78, 25.92°)
OKLaboklab(39.64% 0.1213 0.047)
OKLCHoklch(39.64% 0.13 21.2)
XYZxyz(9.4193, 5.5055, 2.4000)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E26 #1E7E76
analogous
#7E1E56 #7E1E26 #7E461E
triadic
#7E1E26 #267E1E #1E267E
tetradic
#7E1E26 #567E1E #1E7E76 #461E7E
square
#7E1E26 #567E1E #1E7E76 #461E7E
split-complementary
#7E1E26 #1E7E46 #1E567E
monochromatic
#1B0608 #4D1217 #7E1E26 #AF2A35 #D24450

Accessibility & contrast

On white

10.00
#7E1E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E26
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E26#FFFFFF#000000##FFFFFF
##7E1E261.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393526
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e26;
/* rgb */ color: rgb(126, 30, 38);
/* oklch */ color: oklch(39.6% 0.130 21.2);
Tailwind
colors: {
  custom: {
    50: '#aa6260',
    500: '#7e1e26',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e26;
$custom-light: #aa6260;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e26",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 355,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3964,
    "c": 0.1301,
    "h": 21.2
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#7E1E26
secondary
#47B1A8
accent
#E5D743
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1E26

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

Preview Lab → · Contrast checker → · Palette generator →

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