#7E2513#7E2513

#7E2513 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.126 H 33.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E2513
RGBrgb(126, 37, 19)
HSLhsl(10, 74%, 28%)
HSVhsv(10, 85%, 49%)
CMYKcmyk(0%, 70.6%, 84.9%, 50.6%)
CIE-LABlab(28.92, 37.47, 32.42)
CIE-LCHlch(28.92, 49.55, 40.87°)
OKLaboklab(40.15% 0.1055 0.0692)
OKLCHoklch(40.15% 0.126 33.3)
XYZxyz(9.3844, 5.8072, 1.2427)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2513 #136C7E
analogous
#7E1337 #7E2513 #7E5A13
triadic
#7E2513 #137E25 #25137E
tetradic
#7E2513 #377E13 #136C7E #5A137E
square
#7E2513 #377E13 #136C7E #5A137E
split-complementary
#7E2513 #137E5A #13377E
monochromatic
#1B0804 #49150B #7E2513 #B3351B #DF4A2C

Accessibility & contrast

On white

9.72
#7E2513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E2513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2513
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2513#FFFFFF#000000##FFFFFF
##7E25131.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3810
Deuteranopia (green-blind)
#554B0F
Tritanopia (blue-blind)
#8B0622
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2513;
/* rgb */ color: rgb(126, 37, 19);
/* oklch */ color: oklch(40.2% 0.126 33.3);
Tailwind
colors: {
  custom: {
    50: '#ab6552',
    500: '#7e2513',
    950: '#000000',
  },
}
SCSS
$custom: #7e2513;
$custom-light: #ab6552;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2513",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 19
  },
  "hsl": {
    "h": 10.093,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40154,
    "c": 0.1262,
    "h": 33.3
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#7E2513
secondary
#399FB4
accent
#D1F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2513

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

Preview Lab → · Contrast checker → · Palette generator →

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