#7E2F26#7E2F26

#7E2F26 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 29.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7E2F26
RGBrgb(126, 47, 38)
HSLhsl(6, 54%, 32%)
HSVhsv(6, 70%, 49%)
CMYKcmyk(0%, 62.7%, 69.8%, 50.6%)
CIE-LABlab(30.90, 33.66, 23.39)
CIE-LCHlch(30.90, 40.98, 34.80°)
OKLaboklab(41.72% 0.0976 0.0545)
OKLCHoklch(41.72% 0.112 29.2)
XYZxyz(9.9715, 6.6099, 2.5841)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F26 #26757E
analogous
#7E2649 #7E2F26 #7E5B26
triadic
#7E2F26 #267E2F #2F267E
tetradic
#7E2F26 #497E26 #26757E #5B267E
square
#7E2F26 #497E26 #26757E #5B267E
split-complementary
#7E2F26 #267E5B #26497E
monochromatic
#200C0A #4F1D18 #7E2F26 #AD4134 #CB5F53

Accessibility & contrast

On white

9.04
#7E2F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F26
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F26#FFFFFF#000000##FFFFFF
##7E2F261.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E25
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#8B1E2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f26;
/* rgb */ color: rgb(126, 47, 38);
/* oklch */ color: oklch(41.7% 0.112 29.2);
Tailwind
colors: {
  custom: {
    50: '#a96b60',
    500: '#7e2f26',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f26;
$custom-light: #a96b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f26",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 6.136,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.11177,
    "h": 29.2
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#7E2F26
secondary
#50A6B0
accent
#CEDD4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2F26

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

Preview Lab → · Contrast checker → · Palette generator →

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