#7E2713#7E2713

#7E2713 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.124 H 34.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E2713
RGBrgb(126, 39, 19)
HSLhsl(11, 74%, 28%)
HSVhsv(11, 85%, 49%)
CMYKcmyk(0%, 69%, 84.9%, 50.6%)
CIE-LABlab(29.25, 36.58, 32.73)
CIE-LCHlch(29.25, 49.09, 41.82°)
OKLaboklab(40.4% 0.1028 0.0699)
OKLCHoklch(40.4% 0.124 34.2)
XYZxyz(9.4483, 5.9351, 1.2640)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2713 #136A7E
analogous
#7E1334 #7E2713 #7E5C13
triadic
#7E2713 #137E27 #27137E
tetradic
#7E2713 #347E13 #136A7E #5C137E
square
#7E2713 #347E13 #136A7E #5C137E
split-complementary
#7E2713 #137E5C #13347E
monochromatic
#1B0804 #49170B #7E2713 #B3371B #DF4E2C

Accessibility & contrast

On white

9.60
#7E2713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2713
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2713#FFFFFF#000000##FFFFFF
##7E27131.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2713;
/* rgb */ color: rgb(126, 39, 19);
/* oklch */ color: oklch(40.4% 0.124 34.2);
Tailwind
colors: {
  custom: {
    50: '#ab6652',
    500: '#7e2713',
    950: '#000000',
  },
}
SCSS
$custom: #7e2713;
$custom-light: #ab6652;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2713",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 19
  },
  "hsl": {
    "h": 11.215,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.404,
    "c": 0.1243,
    "h": 34.2
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#7E2713
secondary
#399DB4
accent
#CEF037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2713

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

Preview Lab → · Contrast checker → · Palette generator →

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