#7E301C#7E301C

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

Color values

HEX#7E301C
RGBrgb(126, 48, 28)
HSLhsl(12, 64%, 30%)
HSVhsv(12, 78%, 49%)
CMYKcmyk(0%, 61.9%, 77.8%, 50.6%)
CIE-LABlab(30.96, 32.61, 29.46)
CIE-LCHlch(30.96, 43.95, 42.10°)
OKLaboklab(41.72% 0.0923 0.0656)
OKLCHoklch(41.72% 0.113 35.4)
XYZxyz(9.8718, 6.6347, 1.8592)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E301C #1C6A7E
analogous
#7E1C39 #7E301C #7E611C
triadic
#7E301C #1C7E30 #301C7E
tetradic
#7E301C #397E1C #1C6A7E #611C7E
square
#7E301C #397E1C #1C6A7E #611C7E
split-complementary
#7E301C #1C7E61 #1C397E
monochromatic
#1A0A06 #4C1D11 #7E301C #B04327 #D55E40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E301C#FFFFFF#000000##FFFFFF
##7E301C1.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)
#463E19
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#8B1E2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e301c;
/* rgb */ color: rgb(126, 48, 28);
/* oklch */ color: oklch(41.7% 0.113 35.4);
Tailwind
colors: {
  custom: {
    50: '#aa6b59',
    500: '#7e301c',
    950: '#000000',
  },
}
SCSS
$custom: #7e301c;
$custom-light: #aa6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e301c",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 12.245,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.11323,
    "h": 35.4
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#7E301C
secondary
#449BB2
accent
#C5E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E301C

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

Preview Lab → · Contrast checker → · Palette generator →

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