#7E2719#7E2719

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

Color values

HEX#7E2719
RGBrgb(126, 39, 25)
HSLhsl(8, 67%, 30%)
HSVhsv(8, 80%, 49%)
CMYKcmyk(0%, 69%, 80.2%, 50.6%)
CIE-LABlab(29.31, 36.80, 29.45)
CIE-LCHlch(29.31, 47.13, 38.66°)
OKLaboklab(40.46% 0.1047 0.0648)
OKLCHoklch(40.46% 0.123 31.8)
XYZxyz(9.5062, 5.9582, 1.5690)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2719 #19707E
analogous
#7E193E #7E2719 #7E5A19
triadic
#7E2719 #197E27 #27197E
tetradic
#7E2719 #3E7E19 #19707E #5A197E
square
#7E2719 #3E7E19 #19707E #5A197E
split-complementary
#7E2719 #197E5A #193E7E
monochromatic
#1A0805 #4B170F #7E2719 #B13723 #D8503A

Accessibility & contrast

On white

9.58
#7E2719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E2719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2719
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2719#FFFFFF#000000##FFFFFF
##7E27191.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403917
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#8B0D24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2719;
/* rgb */ color: rgb(126, 39, 25);
/* oklch */ color: oklch(40.5% 0.123 31.8);
Tailwind
colors: {
  custom: {
    50: '#ab6657',
    500: '#7e2719',
    950: '#000000',
  },
}
SCSS
$custom: #7e2719;
$custom-light: #ab6657;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2719",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 25
  },
  "hsl": {
    "h": 8.317,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.12307,
    "h": 31.8
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#7E2719
secondary
#41A2B2
accent
#D2EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2719

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

Preview Lab → · Contrast checker → · Palette generator →

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