#7E2813#7E2813

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

Color values

HEX#7E2813
RGBrgb(126, 40, 19)
HSLhsl(12, 74%, 28%)
HSVhsv(12, 85%, 49%)
CMYKcmyk(0%, 68.3%, 84.9%, 50.6%)
CIE-LABlab(29.42, 36.13, 32.89)
CIE-LCHlch(29.42, 48.86, 42.31°)
OKLaboklab(40.53% 0.1014 0.0703)
OKLCHoklch(40.53% 0.123 34.7)
XYZxyz(9.4816, 6.0016, 1.2751)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2813 #13697E
analogous
#7E1333 #7E2813 #7E5D13
triadic
#7E2813 #137E28 #28137E
tetradic
#7E2813 #337E13 #13697E #5D137E
square
#7E2813 #337E13 #13697E #5D137E
split-complementary
#7E2813 #137E5D #13337E
monochromatic
#1B0804 #49170B #7E2813 #B3391B #DF4F2C

Accessibility & contrast

On white

9.55
#7E2813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2813
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2813#FFFFFF#000000##FFFFFF
##7E28131.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2813;
/* rgb */ color: rgb(126, 40, 19);
/* oklch */ color: oklch(40.5% 0.123 34.7);
Tailwind
colors: {
  custom: {
    50: '#ab6753',
    500: '#7e2813',
    950: '#000000',
  },
}
SCSS
$custom: #7e2813;
$custom-light: #ab6753;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2813",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 11.776,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40526,
    "c": 0.12334,
    "h": 34.7
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#7E2813
secondary
#399CB4
accent
#CCF037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2813

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

Preview Lab → · Contrast checker → · Palette generator →

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