#7E2815#7E2815

#7E2815 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.123 H 33.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E2815
RGBrgb(126, 40, 21)
HSLhsl(11, 71%, 29%)
HSVhsv(11, 83%, 49%)
CMYKcmyk(0%, 68.3%, 83.3%, 50.6%)
CIE-LABlab(29.43, 36.20, 31.83)
CIE-LCHlch(29.43, 48.20, 41.33°)
OKLaboklab(40.55% 0.102 0.0687)
OKLCHoklch(40.55% 0.123 33.9)
XYZxyz(9.4994, 6.0087, 1.3689)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2815 #156B7E
analogous
#7E1537 #7E2815 #7E5D15
triadic
#7E2815 #157E28 #28157E
tetradic
#7E2815 #377E15 #156B7E #5D157E
square
#7E2815 #377E15 #156B7E #5D157E
split-complementary
#7E2815 #157E5D #15377E
monochromatic
#1A0804 #4A170C #7E2815 #B2391E #DD5031

Accessibility & contrast

On white

9.54
#7E2815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2815
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2815#FFFFFF#000000##FFFFFF
##7E28151.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413912
Deuteranopia (green-blind)
#564C11
Tritanopia (blue-blind)
#8B0E24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2815;
/* rgb */ color: rgb(126, 40, 21);
/* oklch */ color: oklch(40.5% 0.123 33.9);
Tailwind
colors: {
  custom: {
    50: '#ab6754',
    500: '#7e2815',
    950: '#000000',
  },
}
SCSS
$custom: #7e2815;
$custom-light: #ab6754;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2815",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 21
  },
  "hsl": {
    "h": 10.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.12293,
    "h": 33.9
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#7E2815
secondary
#3C9DB3
accent
#CEEE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2815

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

Preview Lab → · Contrast checker → · Palette generator →

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