#7E2D1E#7E2D1E

#7E2D1E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.116 H 32.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E2D1E
RGBrgb(126, 45, 30)
HSLhsl(9, 62%, 31%)
HSVhsv(9, 76%, 49%)
CMYKcmyk(0%, 64.3%, 76.2%, 50.6%)
CIE-LABlab(30.42, 34.20, 27.71)
CIE-LCHlch(30.42, 44.02, 39.01°)
OKLaboklab(41.32% 0.0976 0.0623)
OKLCHoklch(41.32% 0.116 32.6)
XYZxyz(9.7779, 6.4075, 1.9499)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D1E #1E6F7E
analogous
#7E1E3F #7E2D1E #7E5D1E
triadic
#7E2D1E #1E7E2D #2D1E7E
tetradic
#7E2D1E #3F7E1E #1E6F7E #5D1E7E
square
#7E2D1E #3F7E1E #1E6F7E #5D1E7E
split-complementary
#7E2D1E #1E7E5D #1E3F7E
monochromatic
#1B0A06 #4D1B12 #7E2D1E #AF3F2A #D25A44

Accessibility & contrast

On white

9.21
#7E2D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D1E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D1E#FFFFFF#000000##FFFFFF
##7E2D1E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8B192A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d1e;
/* rgb */ color: rgb(126, 45, 30);
/* oklch */ color: oklch(41.3% 0.116 32.6);
Tailwind
colors: {
  custom: {
    50: '#aa6a5a',
    500: '#7e2d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d1e;
$custom-light: #aa6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d1e",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 30
  },
  "hsl": {
    "h": 9.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.11582,
    "h": 32.6
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#7E2D1E
secondary
#47A1B1
accent
#CBE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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