#7E2C13#7E2C13

#7E2C13 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.119 H 36.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2C13
RGBrgb(126, 44, 19)
HSLhsl(14, 74%, 28%)
HSVhsv(14, 85%, 49%)
CMYKcmyk(0%, 65.1%, 84.9%, 50.6%)
CIE-LABlab(30.12, 34.24, 33.55)
CIE-LCHlch(30.12, 47.94, 44.41°)
OKLaboklab(41.06% 0.0956 0.0717)
OKLCHoklch(41.06% 0.119 36.9)
XYZxyz(9.6235, 6.2854, 1.3224)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C13 #13657E
analogous
#7E132F #7E2C13 #7E6113
triadic
#7E2C13 #137E2C #2C137E
tetradic
#7E2C13 #2F7E13 #13657E #61137E
square
#7E2C13 #2F7E13 #13657E #61137E
split-complementary
#7E2C13 #137E61 #132F7E
monochromatic
#1B0904 #49190B #7E2C13 #B33F1B #DF562C

Accessibility & contrast

On white

9.31
#7E2C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C13
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C13#FFFFFF#000000##FFFFFF
##7E2C131.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#584E0F
Tritanopia (blue-blind)
#8B1627
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c13;
/* rgb */ color: rgb(126, 44, 19);
/* oklch */ color: oklch(41.1% 0.119 36.9);
Tailwind
colors: {
  custom: {
    50: '#ab6953',
    500: '#7e2c13',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c13;
$custom-light: #ab6953;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c13",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 19
  },
  "hsl": {
    "h": 14.019,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41057,
    "c": 0.11947,
    "h": 36.9
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#7E2C13
secondary
#3997B4
accent
#C5F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2C13

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

Preview Lab → · Contrast checker → · Palette generator →

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