#7E2E26#7E2E26

#7E2E26 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.113 H 28.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7E2E26
RGBrgb(126, 46, 38)
HSLhsl(5, 54%, 32%)
HSVhsv(5, 70%, 49%)
CMYKcmyk(0%, 63.5%, 69.8%, 50.6%)
CIE-LABlab(30.71, 34.15, 23.16)
CIE-LCHlch(30.71, 41.27, 34.15°)
OKLaboklab(41.58% 0.0992 0.054)
OKLCHoklch(41.58% 0.113 28.6)
XYZxyz(9.9320, 6.5309, 2.5709)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E26 #26767E
analogous
#7E264A #7E2E26 #7E5A26
triadic
#7E2E26 #267E2E #2E267E
tetradic
#7E2E26 #4A7E26 #26767E #5A267E
square
#7E2E26 #4A7E26 #26767E #5A267E
split-complementary
#7E2E26 #267E5A #264A7E
monochromatic
#200C0A #4F1D18 #7E2E26 #AD3F34 #CB5E53

Accessibility & contrast

On white

9.11
#7E2E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E26
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E26#FFFFFF#000000##FFFFFF
##7E2E261.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D25
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#8B1C2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e26;
/* rgb */ color: rgb(126, 46, 38);
/* oklch */ color: oklch(41.6% 0.113 28.6);
Tailwind
colors: {
  custom: {
    50: '#a96a60',
    500: '#7e2e26',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e26;
$custom-light: #a96a60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e26",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 5.455,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.11289,
    "h": 28.6
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#7E2E26
secondary
#50A7B0
accent
#D0DD4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2E26

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

Preview Lab → · Contrast checker → · Palette generator →

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