#7E2B13#7E2B13

#7E2B13 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.120 H 36.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7E2B13
RGBrgb(126, 43, 19)
HSLhsl(13, 74%, 28%)
HSVhsv(13, 85%, 49%)
CMYKcmyk(0%, 65.9%, 84.9%, 50.6%)
CIE-LABlab(29.94, 34.72, 33.38)
CIE-LCHlch(29.94, 48.16, 43.87°)
OKLaboklab(40.92% 0.0971 0.0713)
OKLCHoklch(40.92% 0.12 36.3)
XYZxyz(9.5867, 6.2118, 1.3102)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B13 #13667E
analogous
#7E1330 #7E2B13 #7E6013
triadic
#7E2B13 #137E2B #2B137E
tetradic
#7E2B13 #307E13 #13667E #60137E
square
#7E2B13 #307E13 #13667E #60137E
split-complementary
#7E2B13 #137E60 #13307E
monochromatic
#1B0904 #49190B #7E2B13 #B33D1B #DF542C

Accessibility & contrast

On white

9.37
#7E2B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B13
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B13#FFFFFF#000000##FFFFFF
##7E2B131.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#574D0F
Tritanopia (blue-blind)
#8B1426
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2b13;
/* rgb */ color: rgb(126, 43, 19);
/* oklch */ color: oklch(40.9% 0.120 36.3);
Tailwind
colors: {
  custom: {
    50: '#ab6853',
    500: '#7e2b13',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b13;
$custom-light: #ab6853;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b13",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 19
  },
  "hsl": {
    "h": 13.458,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.12045,
    "h": 36.3
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#7E2B13
secondary
#3998B4
accent
#C7F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2B13

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

Preview Lab → · Contrast checker → · Palette generator →

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