#7E2E2B#7E2E2B

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

Color values

HEX#7E2E2B
RGBrgb(126, 46, 43)
HSLhsl(2, 49%, 33%)
HSVhsv(2, 66%, 49%)
CMYKcmyk(0%, 63.5%, 65.9%, 50.6%)
CIE-LABlab(30.80, 34.48, 20.11)
CIE-LCHlch(30.80, 39.91, 30.26°)
OKLaboklab(41.66% 0.1012 0.0479)
OKLCHoklch(41.66% 0.112 25.3)
XYZxyz(10.0182, 6.5654, 3.0247)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E2B #2B7B7E
analogous
#7E2B51 #7E2E2B #7E572B
triadic
#7E2E2B #2B7E2E #2E2B7E
tetradic
#7E2E2B #517E2B #2B7B7E #572B7E
square
#7E2E2B #517E2B #2B7B7E #572B7E
split-complementary
#7E2E2B #2B7E57 #2B517E
monochromatic
#230D0C #501D1B #7E2E2B #AC3F3B #C7605C

Accessibility & contrast

On white

9.08
#7E2E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2E2B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E2B#FFFFFF#000000##FFFFFF
##7E2E2B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2A
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#8A1E2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e2b;
/* rgb */ color: rgb(126, 46, 43);
/* oklch */ color: oklch(41.7% 0.112 25.3);
Tailwind
colors: {
  custom: {
    50: '#a96a64',
    500: '#7e2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e2b;
$custom-light: #a96a64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e2b",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 2.169,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41664,
    "c": 0.11195,
    "h": 25.3
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#7E2E2B
secondary
#58AAAD
accent
#D4D94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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