#7E301B#7E301B

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

Color values

HEX#7E301B
RGBrgb(126, 48, 27)
HSLhsl(13, 65%, 30%)
HSVhsv(13, 79%, 49%)
CMYKcmyk(0%, 61.9%, 78.6%, 50.6%)
CIE-LABlab(30.95, 32.57, 30.02)
CIE-LCHlch(30.95, 44.30, 42.67°)
OKLaboklab(41.71% 0.0919 0.0666)
OKLCHoklch(41.71% 0.114 35.9)
XYZxyz(9.8600, 6.6300, 1.7972)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E301B #1B697E
analogous
#7E1B38 #7E301B #7E611B
triadic
#7E301B #1B7E30 #301B7E
tetradic
#7E301B #387E1B #1B697E #611B7E
square
#7E301B #387E1B #1B697E #611B7E
split-complementary
#7E301B #1B7E61 #1B387E
monochromatic
#190A05 #4C1D10 #7E301B #B04326 #D65E3E

Accessibility & contrast

On white

9.03
#7E301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E301B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E301B#FFFFFF#000000##FFFFFF
##7E301B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#8B1E2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e301b;
/* rgb */ color: rgb(126, 48, 27);
/* oklch */ color: oklch(41.7% 0.114 35.9);
Tailwind
colors: {
  custom: {
    50: '#aa6b58',
    500: '#7e301b',
    950: '#000000',
  },
}
SCSS
$custom: #7e301b;
$custom-light: #aa6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e301b",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 12.727,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.11351,
    "h": 35.9
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#7E301B
secondary
#439AB2
accent
#C4E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E301B

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

Preview Lab → · Contrast checker → · Palette generator →

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