#7E2E1F#7E2E1F

#7E2E1F is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.115 H 32.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7E2E1F
RGBrgb(126, 46, 31)
HSLhsl(9, 61%, 31%)
HSVhsv(9, 75%, 49%)
CMYKcmyk(0%, 63.5%, 75.4%, 50.6%)
CIE-LABlab(30.62, 33.76, 27.33)
CIE-LCHlch(30.62, 43.44, 38.99°)
OKLaboklab(41.47% 0.0964 0.0618)
OKLCHoklch(41.47% 0.115 32.6)
XYZxyz(9.8295, 6.4899, 2.0311)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E1F #1F6F7E
analogous
#7E1F3F #7E2E1F #7E5D1F
triadic
#7E2E1F #1F7E2E #2E1F7E
tetradic
#7E2E1F #3F7E1F #1F6F7E #5D1F7E
square
#7E2E1F #3F7E1F #1F6F7E #5D1F7E
split-complementary
#7E2E1F #1F7E5D #1F3F7E
monochromatic
#1C0A07 #4D1C13 #7E2E1F #AF402B #D15C46

Accessibility & contrast

On white

9.14
#7E2E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E1F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E1F#FFFFFF#000000##FFFFFF
##7E2E1F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#8B1B2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e1f;
/* rgb */ color: rgb(126, 46, 31);
/* oklch */ color: oklch(41.5% 0.115 32.6);
Tailwind
colors: {
  custom: {
    50: '#aa6a5b',
    500: '#7e2e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e1f;
$custom-light: #aa6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e1f",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 9.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.11452,
    "h": 32.6
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#7E2E1F
secondary
#48A0B1
accent
#CAE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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