#7E2E1B#7E2E1B

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

Color values

HEX#7E2E1B
RGBrgb(126, 46, 27)
HSLhsl(12, 65%, 30%)
HSVhsv(12, 79%, 49%)
CMYKcmyk(0%, 63.5%, 78.6%, 50.6%)
CIE-LABlab(30.57, 33.57, 29.62)
CIE-LCHlch(30.57, 44.77, 41.42°)
OKLaboklab(41.42% 0.095 0.0657)
OKLCHoklch(41.42% 0.116 34.7)
XYZxyz(9.7801, 6.4701, 1.7706)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E1B #1B6B7E
analogous
#7E1B3A #7E2E1B #7E5F1B
triadic
#7E2E1B #1B7E2E #2E1B7E
tetradic
#7E2E1B #3A7E1B #1B6B7E #5F1B7E
square
#7E2E1B #3A7E1B #1B6B7E #5F1B7E
split-complementary
#7E2E1B #1B7E5F #1B3A7E
monochromatic
#190905 #4C1C10 #7E2E1B #B04026 #D65B3E

Accessibility & contrast

On white

9.16
#7E2E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E1B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E1B#FFFFFF#000000##FFFFFF
##7E2E1B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D18
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#8B1B2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e1b;
/* rgb */ color: rgb(126, 46, 27);
/* oklch */ color: oklch(41.4% 0.116 34.7);
Tailwind
colors: {
  custom: {
    50: '#aa6a58',
    500: '#7e2e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e1b;
$custom-light: #aa6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e1b",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 11.515,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.11554,
    "h": 34.7
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#7E2E1B
secondary
#439DB2
accent
#C8E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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