#7E302B#7E302B

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

Color values

HEX#7E302B
RGBrgb(126, 48, 43)
HSLhsl(4, 49%, 33%)
HSVhsv(4, 66%, 49%)
CMYKcmyk(0%, 61.9%, 65.9%, 50.6%)
CIE-LABlab(31.17, 33.48, 20.58)
CIE-LCHlch(31.17, 39.30, 31.58°)
OKLaboklab(41.95% 0.0981 0.0489)
OKLCHoklch(41.95% 0.11 26.5)
XYZxyz(10.0981, 6.7253, 3.0514)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E302B #2B797E
analogous
#7E2B50 #7E302B #7E592B
triadic
#7E302B #2B7E30 #302B7E
tetradic
#7E302B #507E2B #2B797E #592B7E
square
#7E302B #507E2B #2B797E #592B7E
split-complementary
#7E302B #2B7E59 #2B507E
monochromatic
#230D0C #501F1B #7E302B #AC413B #C7625C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E302B#FFFFFF#000000##FFFFFF
##7E302B1.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)
#443F2A
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#8A202F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e302b;
/* rgb */ color: rgb(126, 48, 43);
/* oklch */ color: oklch(41.9% 0.110 26.5);
Tailwind
colors: {
  custom: {
    50: '#a96c64',
    500: '#7e302b',
    950: '#000000',
  },
}
SCSS
$custom: #7e302b;
$custom-light: #a96c64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e302b",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 3.614,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.1096,
    "h": 26.5
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#7E302B
secondary
#58A8AD
accent
#D0D94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E302B

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

Preview Lab → · Contrast checker → · Palette generator →

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