#7E2026#7E2026

#7E2026 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 21.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E2026
RGBrgb(126, 32, 38)
HSLhsl(356, 59%, 31%)
HSVhsv(356, 75%, 49%)
CMYKcmyk(0%, 74.6%, 69.8%, 50.6%)
CIE-LABlab(28.41, 40.40, 20.35)
CIE-LCHlch(28.41, 45.24, 26.73°)
OKLaboklab(39.85% 0.1189 0.0477)
OKLCHoklch(39.85% 0.128 21.9)
XYZxyz(9.4716, 5.6100, 2.4174)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2026 #207E78
analogous
#7E2055 #7E2026 #7E4920
triadic
#7E2026 #267E20 #20267E
tetradic
#7E2026 #557E20 #207E78 #49207E
square
#7E2026 #557E20 #207E78 #49207E
split-complementary
#7E2026 #207E49 #20557E
monochromatic
#1C0709 #4D1417 #7E2026 #AF2C35 #D04851

Accessibility & contrast

On white

9.90
#7E2026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E2026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2026
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2026#FFFFFF#000000##FFFFFF
##7E20261.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3625
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2026;
/* rgb */ color: rgb(126, 32, 38);
/* oklch */ color: oklch(39.8% 0.128 21.9);
Tailwind
colors: {
  custom: {
    50: '#aa6360',
    500: '#7e2026',
    950: '#000000',
  },
}
SCSS
$custom: #7e2026;
$custom-light: #aa6360;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2026",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 38
  },
  "hsl": {
    "h": 356.17,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.12811,
    "h": 21.9
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#7E2026
secondary
#49B1AA
accent
#E3D945
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2026

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

Preview Lab → · Contrast checker → · Palette generator →

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