#7E2814#7E2814

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

Color values

HEX#7E2814
RGBrgb(126, 40, 20)
HSLhsl(11, 73%, 29%)
HSVhsv(11, 84%, 49%)
CMYKcmyk(0%, 68.3%, 84.1%, 50.6%)
CIE-LABlab(29.43, 36.16, 32.36)
CIE-LCHlch(29.43, 48.53, 41.83°)
OKLaboklab(40.54% 0.1017 0.0695)
OKLCHoklch(40.54% 0.123 34.3)
XYZxyz(9.4903, 6.0051, 1.3211)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2814 #146A7E
analogous
#7E1435 #7E2814 #7E5D14
triadic
#7E2814 #147E28 #28147E
tetradic
#7E2814 #357E14 #146A7E #5D147E
square
#7E2814 #357E14 #146A7E #5D147E
split-complementary
#7E2814 #147E5D #14357E
monochromatic
#1A0804 #49170C #7E2814 #B3391C #DE502E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2814#FFFFFF#000000##FFFFFF
##7E28141.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)
#413911
Deuteranopia (green-blind)
#564C10
Tritanopia (blue-blind)
#8B0E24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2814;
/* rgb */ color: rgb(126, 40, 20);
/* oklch */ color: oklch(40.5% 0.123 34.3);
Tailwind
colors: {
  custom: {
    50: '#ab6753',
    500: '#7e2814',
    950: '#000000',
  },
}
SCSS
$custom: #7e2814;
$custom-light: #ab6753;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2814",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 20
  },
  "hsl": {
    "h": 11.321,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.12313,
    "h": 34.3
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#7E2814
secondary
#3A9DB3
accent
#CDEF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2814

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

Preview Lab → · Contrast checker → · Palette generator →

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