#7E301E#7E301E

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

Color values

HEX#7E301E
RGBrgb(126, 48, 30)
HSLhsl(11, 62%, 31%)
HSVhsv(11, 76%, 49%)
CMYKcmyk(0%, 61.9%, 76.2%, 50.6%)
CIE-LABlab(30.98, 32.71, 28.33)
CIE-LCHlch(30.98, 43.27, 40.90°)
OKLaboklab(41.74% 0.093 0.0637)
OKLCHoklch(41.74% 0.113 34.4)
XYZxyz(9.8965, 6.6446, 1.9895)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E301E #1E6C7E
analogous
#7E1E3C #7E301E #7E601E
triadic
#7E301E #1E7E30 #301E7E
tetradic
#7E301E #3C7E1E #1E6C7E #601E7E
square
#7E301E #3C7E1E #1E6C7E #601E7E
split-complementary
#7E301E #1E7E60 #1E3C7E
monochromatic
#1B0A06 #4D1D12 #7E301E #AF432A #D25F44

Accessibility & contrast

On white

9.02
#7E301E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E301E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E301E#FFFFFF#000000##FFFFFF
##7E301E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e301e;
/* rgb */ color: rgb(126, 48, 30);
/* oklch */ color: oklch(41.7% 0.113 34.4);
Tailwind
colors: {
  custom: {
    50: '#aa6b5b',
    500: '#7e301e',
    950: '#000000',
  },
}
SCSS
$custom: #7e301e;
$custom-light: #aa6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e301e",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 30
  },
  "hsl": {
    "h": 11.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.1127,
    "h": 34.4
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#7E301E
secondary
#479DB1
accent
#C6E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E301E

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

Preview Lab → · Contrast checker → · Palette generator →

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