#7E2319#7E2319

#7E2319 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 29.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E2319
RGBrgb(126, 35, 25)
HSLhsl(6, 67%, 30%)
HSVhsv(6, 80%, 49%)
CMYKcmyk(0%, 72.2%, 80.2%, 50.6%)
CIE-LABlab(28.67, 38.55, 28.78)
CIE-LCHlch(28.67, 48.10, 36.74°)
OKLaboklab(39.98% 0.1101 0.0633)
OKLCHoklch(39.98% 0.127 29.9)
XYZxyz(9.3818, 5.7093, 1.5275)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2319 #19747E
analogous
#7E1941 #7E2319 #7E5619
triadic
#7E2319 #197E23 #23197E
tetradic
#7E2319 #417E19 #19747E #56197E
square
#7E2319 #417E19 #19747E #56197E
split-complementary
#7E2319 #197E56 #19417E
monochromatic
#1A0705 #4B150F #7E2319 #B13123 #D8493A

Accessibility & contrast

On white

9.81
#7E2319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2319
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2319#FFFFFF#000000##FFFFFF
##7E23191.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3717
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#8B0221
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2319;
/* rgb */ color: rgb(126, 35, 25);
/* oklch */ color: oklch(40.0% 0.127 29.9);
Tailwind
colors: {
  custom: {
    50: '#ab6456',
    500: '#7e2319',
    950: '#000000',
  },
}
SCSS
$custom: #7e2319;
$custom-light: #ab6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2319",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 25
  },
  "hsl": {
    "h": 5.941,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.12699,
    "h": 29.9
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#7E2319
secondary
#41A7B2
accent
#D9EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2319

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

Preview Lab → · Contrast checker → · Palette generator →

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