#7E2819#7E2819

#7E2819 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 32.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2819
RGBrgb(126, 40, 25)
HSLhsl(9, 67%, 30%)
HSVhsv(9, 80%, 49%)
CMYKcmyk(0%, 68.3%, 80.2%, 50.6%)
CIE-LABlab(29.47, 36.35, 29.62)
CIE-LCHlch(29.47, 46.89, 39.18°)
OKLaboklab(40.59% 0.1032 0.0651)
OKLCHoklch(40.59% 0.122 32.3)
XYZxyz(9.5395, 6.0248, 1.5801)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2819 #196F7E
analogous
#7E193D #7E2819 #7E5B19
triadic
#7E2819 #197E28 #28197E
tetradic
#7E2819 #3D7E19 #196F7E #5B197E
square
#7E2819 #3D7E19 #196F7E #5B197E
split-complementary
#7E2819 #197E5B #193D7E
monochromatic
#1A0805 #4B180F #7E2819 #B13823 #D8513A

Accessibility & contrast

On white

9.53
#7E2819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2819
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2819#FFFFFF#000000##FFFFFF
##7E28191.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413917
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#8B0F25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2819;
/* rgb */ color: rgb(126, 40, 25);
/* oklch */ color: oklch(40.6% 0.122 32.3);
Tailwind
colors: {
  custom: {
    50: '#ab6757',
    500: '#7e2819',
    950: '#000000',
  },
}
SCSS
$custom: #7e2819;
$custom-light: #ab6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2819",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 25
  },
  "hsl": {
    "h": 8.911,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.12207,
    "h": 32.3
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#7E2819
secondary
#41A1B2
accent
#D0EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2819

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

Preview Lab → · Contrast checker → · Palette generator →

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