#7E2314#7E2314

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

Color values

HEX#7E2314
RGBrgb(126, 35, 20)
HSLhsl(8, 73%, 29%)
HSVhsv(8, 84%, 49%)
CMYKcmyk(0%, 72.2%, 84.1%, 50.6%)
CIE-LABlab(28.62, 38.36, 31.58)
CIE-LCHlch(28.62, 49.69, 39.47°)
OKLaboklab(39.93% 0.1085 0.0678)
OKLCHoklch(39.93% 0.128 32)
XYZxyz(9.3326, 5.6896, 1.2685)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2314 #146F7E
analogous
#7E143A #7E2314 #7E5814
triadic
#7E2314 #147E23 #23147E
tetradic
#7E2314 #3A7E14 #146F7E #58147E
square
#7E2314 #3A7E14 #146F7E #58147E
split-complementary
#7E2314 #147E58 #143A7E
monochromatic
#1A0704 #49140C #7E2314 #B3321C #DE472E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2314#FFFFFF#000000##FFFFFF
##7E23141.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)
#3E3711
Deuteranopia (green-blind)
#544B10
Tritanopia (blue-blind)
#8B0120
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2314;
/* rgb */ color: rgb(126, 35, 20);
/* oklch */ color: oklch(39.9% 0.128 32.0);
Tailwind
colors: {
  custom: {
    50: '#ab6453',
    500: '#7e2314',
    950: '#000000',
  },
}
SCSS
$custom: #7e2314;
$custom-light: #ab6453;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2314",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 20
  },
  "hsl": {
    "h": 8.491,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39928,
    "c": 0.12791,
    "h": 32
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7E2314
secondary
#3AA2B3
accent
#D5EF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2314

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

Preview Lab → · Contrast checker → · Palette generator →

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