#7E2D26#7E2D26

#7E2D26 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.114 H 28.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E2D26
RGBrgb(126, 45, 38)
HSLhsl(5, 54%, 32%)
HSVhsv(5, 70%, 49%)
CMYKcmyk(0%, 64.3%, 69.8%, 50.6%)
CIE-LABlab(30.53, 34.64, 22.94)
CIE-LCHlch(30.53, 41.55, 33.51°)
OKLaboklab(41.44% 0.1007 0.0535)
OKLCHoklch(41.44% 0.114 28)
XYZxyz(9.8934, 6.4537, 2.5581)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D26 #26777E
analogous
#7E264B #7E2D26 #7E5926
triadic
#7E2D26 #267E2D #2D267E
tetradic
#7E2D26 #4B7E26 #26777E #59267E
square
#7E2D26 #4B7E26 #26777E #59267E
split-complementary
#7E2D26 #267E59 #264B7E
monochromatic
#200B0A #4F1C18 #7E2D26 #AD3E34 #CB5D53

Accessibility & contrast

On white

9.17
#7E2D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D26
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D26#FFFFFF#000000##FFFFFF
##7E2D261.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2d26;
/* rgb */ color: rgb(126, 45, 38);
/* oklch */ color: oklch(41.4% 0.114 28.0);
Tailwind
colors: {
  custom: {
    50: '#a96a60',
    500: '#7e2d26',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d26;
$custom-light: #a96a60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d26",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 38
  },
  "hsl": {
    "h": 4.773,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.11402,
    "h": 28
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#7E2D26
secondary
#50A8B0
accent
#D1DD4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2D26

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

Preview Lab → · Contrast checker → · Palette generator →

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