#7E2315#7E2315

#7E2315 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.128 H 31.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7E2315
RGBrgb(126, 35, 21)
HSLhsl(8, 71%, 29%)
HSVhsv(8, 83%, 49%)
CMYKcmyk(0%, 72.2%, 83.3%, 50.6%)
CIE-LABlab(28.62, 38.40, 31.04)
CIE-LCHlch(28.62, 49.37, 38.95°)
OKLaboklab(39.94% 0.1088 0.0669)
OKLCHoklch(39.94% 0.128 31.6)
XYZxyz(9.3417, 5.6932, 1.3163)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2315 #15707E
analogous
#7E153C #7E2315 #7E5815
triadic
#7E2315 #157E23 #23157E
tetradic
#7E2315 #3C7E15 #15707E #58157E
square
#7E2315 #3C7E15 #15707E #58157E
split-complementary
#7E2315 #157E58 #153C7E
monochromatic
#1A0704 #4A140C #7E2315 #B2321E #DD4831

Accessibility & contrast

On white

9.82
#7E2315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2315
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2315#FFFFFF#000000##FFFFFF
##7E23151.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3712
Deuteranopia (green-blind)
#544B11
Tritanopia (blue-blind)
#8B0121
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2315;
/* rgb */ color: rgb(126, 35, 21);
/* oklch */ color: oklch(39.9% 0.128 31.6);
Tailwind
colors: {
  custom: {
    50: '#ab6454',
    500: '#7e2315',
    950: '#000000',
  },
}
SCSS
$custom: #7e2315;
$custom-light: #ab6454;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2315",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 21
  },
  "hsl": {
    "h": 8,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.12772,
    "h": 31.6
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#7E2315
secondary
#3CA3B3
accent
#D6EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2315

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

Preview Lab → · Contrast checker → · Palette generator →

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