#7E2C15#7E2C15

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

Color values

HEX#7E2C15
RGBrgb(126, 44, 21)
HSLhsl(13, 71%, 29%)
HSVhsv(13, 83%, 49%)
CMYKcmyk(0%, 65.1%, 83.3%, 50.6%)
CIE-LABlab(30.14, 34.31, 32.51)
CIE-LCHlch(30.14, 47.27, 43.46°)
OKLaboklab(41.08% 0.0961 0.0702)
OKLCHoklch(41.08% 0.119 36.1)
XYZxyz(9.6413, 6.2925, 1.4162)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C15 #15677E
analogous
#7E1533 #7E2C15 #7E6115
triadic
#7E2C15 #157E2C #2C157E
tetradic
#7E2C15 #337E15 #15677E #61157E
square
#7E2C15 #337E15 #15677E #61157E
split-complementary
#7E2C15 #157E61 #15337E
monochromatic
#1A0904 #4A1A0C #7E2C15 #B23E1E #DD5631

Accessibility & contrast

On white

9.30
#7E2C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C15
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C15#FFFFFF#000000##FFFFFF
##7E2C151.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2c15;
/* rgb */ color: rgb(126, 44, 21);
/* oklch */ color: oklch(41.1% 0.119 36.1);
Tailwind
colors: {
  custom: {
    50: '#ab6954',
    500: '#7e2c15',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c15;
$custom-light: #ab6954;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c15",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 21
  },
  "hsl": {
    "h": 13.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.11901,
    "h": 36.1
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#7E2C15
secondary
#3C99B3
accent
#C7EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C15

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

Preview Lab → · Contrast checker → · Palette generator →

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