#7E301F#7E301F

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

Color values

HEX#7E301F
RGBrgb(126, 48, 31)
HSLhsl(11, 61%, 31%)
HSVhsv(11, 75%, 49%)
CMYKcmyk(0%, 61.9%, 75.4%, 50.6%)
CIE-LABlab(31.00, 32.76, 27.75)
CIE-LCHlch(31.00, 42.94, 40.27°)
OKLaboklab(41.76% 0.0933 0.0627)
OKLCHoklch(41.76% 0.112 33.9)
XYZxyz(9.9095, 6.6498, 2.0578)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E301F #1F6D7E
analogous
#7E1F3D #7E301F #7E5F1F
triadic
#7E301F #1F7E30 #301F7E
tetradic
#7E301F #3D7E1F #1F6D7E #5F1F7E
square
#7E301F #3D7E1F #1F6D7E #5F1F7E
split-complementary
#7E301F #1F7E5F #1F3D7E
monochromatic
#1C0B07 #4D1D13 #7E301F #AF432B #D15F46

Accessibility & contrast

On white

9.01
#7E301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E301F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E301F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E301F#FFFFFF#000000##FFFFFF
##7E301F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#8B1E2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e301f;
/* rgb */ color: rgb(126, 48, 31);
/* oklch */ color: oklch(41.8% 0.112 33.9);
Tailwind
colors: {
  custom: {
    50: '#aa6b5b',
    500: '#7e301f',
    950: '#000000',
  },
}
SCSS
$custom: #7e301f;
$custom-light: #aa6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e301f",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 10.737,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.11242,
    "h": 33.9
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#7E301F
secondary
#489EB1
accent
#C7E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E301F

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

Preview Lab → · Contrast checker → · Palette generator →

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