#7E2F1D#7E2F1D

#7E2F1D is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.114 H 34.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7E2F1D
RGBrgb(126, 47, 29)
HSLhsl(11, 63%, 30%)
HSVhsv(11, 77%, 49%)
CMYKcmyk(0%, 62.7%, 77%, 50.6%)
CIE-LABlab(30.78, 33.17, 28.69)
CIE-LCHlch(30.78, 43.85, 40.86°)
OKLaboklab(41.59% 0.0942 0.0642)
OKLCHoklch(41.59% 0.114 34.3)
XYZxyz(9.8435, 6.5587, 1.9098)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F1D #1D6C7E
analogous
#7E1D3B #7E2F1D #7E5F1D
triadic
#7E2F1D #1D7E2F #2F1D7E
tetradic
#7E2F1D #3B7E1D #1D6C7E #5F1D7E
square
#7E2F1D #3B7E1D #1D6C7E #5F1D7E
split-complementary
#7E2F1D #1D7E5F #1D3B7E
monochromatic
#1B0A06 #4C1C12 #7E2F1D #B04228 #D35D42

Accessibility & contrast

On white

9.09
#7E2F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F1D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F1D#FFFFFF#000000##FFFFFF
##7E2F1D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1B
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f1d;
/* rgb */ color: rgb(126, 47, 29);
/* oklch */ color: oklch(41.6% 0.114 34.3);
Tailwind
colors: {
  custom: {
    50: '#aa6b5a',
    500: '#7e2f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f1d;
$custom-light: #aa6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f1d",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 29
  },
  "hsl": {
    "h": 11.134,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.11399,
    "h": 34.3
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#7E2F1D
secondary
#459DB1
accent
#C7E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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