#7E302A#7E302A

#7E302A is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.110 H 27.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7E302A
RGBrgb(126, 48, 42)
HSLhsl(4, 50%, 33%)
HSVhsv(4, 67%, 49%)
CMYKcmyk(0%, 61.9%, 66.7%, 50.6%)
CIE-LABlab(31.16, 33.41, 21.19)
CIE-LCHlch(31.16, 39.57, 32.39°)
OKLaboklab(41.93% 0.0977 0.0502)
OKLCHoklch(41.93% 0.11 27.2)
XYZxyz(10.0800, 6.7180, 2.9559)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E302A #2A787E
analogous
#7E2A4E #7E302A #7E5A2A
triadic
#7E302A #2A7E30 #302A7E
tetradic
#7E302A #4E7E2A #2A787E #5A2A7E
square
#7E302A #4E7E2A #2A787E #5A2A7E
split-complementary
#7E302A #2A7E5A #2A4E7E
monochromatic
#220D0B #501F1B #7E302A #AC4139 #C8625A

Accessibility & contrast

On white

8.96
#7E302A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E302A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E302A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E302A#FFFFFF#000000##FFFFFF
##7E302A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F29
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#8A202F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e302a;
/* rgb */ color: rgb(126, 48, 42);
/* oklch */ color: oklch(41.9% 0.110 27.2);
Tailwind
colors: {
  custom: {
    50: '#a96c63',
    500: '#7e302a',
    950: '#000000',
  },
}
SCSS
$custom: #7e302a;
$custom-light: #a96c63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e302a",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 4.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.10978,
    "h": 27.2
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#7E302A
secondary
#56A7AE
accent
#D0DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E302A

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

Preview Lab → · Contrast checker → · Palette generator →

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