#7E262A#7E262A

#7E262A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.121 H 21.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7E262A
RGBrgb(126, 38, 42)
HSLhsl(357, 54%, 32%)
HSVhsv(357, 70%, 49%)
CMYKcmyk(0%, 69.8%, 66.7%, 50.6%)
CIE-LABlab(29.39, 38.15, 18.98)
CIE-LCHlch(29.39, 42.61, 26.45°)
OKLaboklab(40.6% 0.1126 0.0452)
OKLCHoklch(40.6% 0.121 21.9)
XYZxyz(9.7162, 5.9904, 2.8347)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E262A #267E7A
analogous
#7E2656 #7E262A #7E4E26
triadic
#7E262A #2A7E26 #262A7E
tetradic
#7E262A #567E26 #267E7A #4E267E
square
#7E262A #567E26 #267E7A #4E267E
split-complementary
#7E262A #267E4E #26567E
monochromatic
#200A0B #4F181A #7E262A #AD343A #CB5359

Accessibility & contrast

On white

9.56
#7E262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E262A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E262A#FFFFFF#000000##FFFFFF
##7E262A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3929
Deuteranopia (green-blind)
#544C28
Tritanopia (blue-blind)
#8B1028
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e262a;
/* rgb */ color: rgb(126, 38, 42);
/* oklch */ color: oklch(40.6% 0.121 21.9);
Tailwind
colors: {
  custom: {
    50: '#a96663',
    500: '#7e262a',
    950: '#000000',
  },
}
SCSS
$custom: #7e262a;
$custom-light: #a96663;
$custom-dark: #000000;
JSON
{
  "hex": "#7e262a",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 357.273,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.12133,
    "h": 21.9
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#7E262A
secondary
#50B0AB
accent
#DDD64B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E262A

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

Preview Lab → · Contrast checker → · Palette generator →

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