#7E263A#7E263A

#7E263A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.122 H 10.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E263A
RGBrgb(126, 38, 58)
HSLhsl(346, 54%, 32%)
HSVhsv(346, 70%, 49%)
CMYKcmyk(0%, 69.8%, 54%, 50.6%)
CIE-LABlab(29.73, 39.40, 8.92)
CIE-LCHlch(29.73, 40.39, 12.76°)
OKLaboklab(40.97% 0.1194 0.0227)
OKLCHoklch(40.97% 0.122 10.8)
XYZxyz(10.0619, 6.1287, 4.6553)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E263A #267E6A
analogous
#7E2666 #7E263A #7E3E26
triadic
#7E263A #3A7E26 #263A7E
tetradic
#7E263A #667E26 #267E6A #3E267E
square
#7E263A #667E26 #267E6A #3E267E
split-complementary
#7E263A #267E3E #26667E
monochromatic
#200A0F #4F1824 #7E263A #AD3450 #CB536E

Accessibility & contrast

On white

9.44
#7E263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E263A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E263A#FFFFFF#000000##FFFFFF
##7E263A1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3A
Deuteranopia (green-blind)
#524D38
Tritanopia (blue-blind)
#8A162E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e263a;
/* rgb */ color: rgb(126, 38, 58);
/* oklch */ color: oklch(41.0% 0.122 10.8);
Tailwind
colors: {
  custom: {
    50: '#a8666f',
    500: '#7e263a',
    950: '#000000',
  },
}
SCSS
$custom: #7e263a;
$custom-light: #a8666f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e263a",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 346.364,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.12152,
    "h": 10.8
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#7E263A
secondary
#50B09A
accent
#DDBC4B
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E263A

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

Preview Lab → · Contrast checker → · Palette generator →

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