#7E2D1F#7E2D1F

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

Color values

HEX#7E2D1F
RGBrgb(126, 45, 31)
HSLhsl(9, 61%, 31%)
HSVhsv(9, 75%, 49%)
CMYKcmyk(0%, 64.3%, 75.4%, 50.6%)
CIE-LABlab(30.43, 34.25, 27.12)
CIE-LCHlch(30.43, 43.69, 38.37°)
OKLaboklab(41.33% 0.098 0.0613)
OKLCHoklch(41.33% 0.116 32)
XYZxyz(9.7909, 6.4127, 2.0183)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D1F #1F707E
analogous
#7E1F40 #7E2D1F #7E5C1F
triadic
#7E2D1F #1F7E2D #2D1F7E
tetradic
#7E2D1F #407E1F #1F707E #5C1F7E
square
#7E2D1F #407E1F #1F707E #5C1F7E
split-complementary
#7E2D1F #1F7E5C #1F407E
monochromatic
#1C0A07 #4D1B13 #7E2D1F #AF3F2B #D15A46

Accessibility & contrast

On white

9.20
#7E2D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D1F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D1F#FFFFFF#000000##FFFFFF
##7E2D1F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8B1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d1f;
/* rgb */ color: rgb(126, 45, 31);
/* oklch */ color: oklch(41.3% 0.116 32.0);
Tailwind
colors: {
  custom: {
    50: '#aa6a5b',
    500: '#7e2d1f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d1f;
$custom-light: #aa6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d1f",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 31
  },
  "hsl": {
    "h": 8.842,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.11557,
    "h": 32
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#7E2D1F
secondary
#48A2B1
accent
#CCE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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