#7E2413#7E2413

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

Color values

HEX#7E2413
RGBrgb(126, 36, 19)
HSLhsl(10, 74%, 28%)
HSVhsv(10, 85%, 49%)
CMYKcmyk(0%, 71.4%, 84.9%, 50.6%)
CIE-LABlab(28.76, 37.90, 32.27)
CIE-LCHlch(28.76, 49.78, 40.41°)
OKLaboklab(40.03% 0.1069 0.0689)
OKLCHoklch(40.03% 0.127 32.8)
XYZxyz(9.3537, 5.7458, 1.2325)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2413 #136D7E
analogous
#7E1337 #7E2413 #7E5913
triadic
#7E2413 #137E24 #24137E
tetradic
#7E2413 #377E13 #136D7E #59137E
square
#7E2413 #377E13 #136D7E #59137E
split-complementary
#7E2413 #137E59 #13377E
monochromatic
#1B0804 #49150B #7E2413 #B3331B #DF492C

Accessibility & contrast

On white

9.77
#7E2413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E2413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2413
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2413#FFFFFF#000000##FFFFFF
##7E24131.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2413;
/* rgb */ color: rgb(126, 36, 19);
/* oklch */ color: oklch(40.0% 0.127 32.8);
Tailwind
colors: {
  custom: {
    50: '#ab6552',
    500: '#7e2413',
    950: '#000000',
  },
}
SCSS
$custom: #7e2413;
$custom-light: #ab6552;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2413",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 19
  },
  "hsl": {
    "h": 9.533,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40035,
    "c": 0.12714,
    "h": 32.8
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#7E2413
secondary
#39A0B4
accent
#D3F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2413

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

Preview Lab → · Contrast checker → · Palette generator →

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