#7E2312#7E2312

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

Color values

HEX#7E2312
RGBrgb(126, 35, 18)
HSLhsl(9, 75%, 28%)
HSVhsv(9, 86%, 49%)
CMYKcmyk(0%, 72.2%, 85.7%, 50.6%)
CIE-LABlab(28.60, 38.30, 32.65)
CIE-LCHlch(28.60, 50.33, 40.45°)
OKLaboklab(39.91% 0.1079 0.0693)
OKLCHoklch(39.91% 0.128 32.7)
XYZxyz(9.3155, 5.6828, 1.1785)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2312 #126D7E
analogous
#7E1237 #7E2312 #7E5912
triadic
#7E2312 #127E23 #23127E
tetradic
#7E2312 #377E12 #126D7E #59127E
square
#7E2312 #377E12 #126D7E #59127E
split-complementary
#7E2312 #127E59 #12377E
monochromatic
#1B0704 #48140A #7E2312 #B4321A #E1472A

Accessibility & contrast

On white

9.83
#7E2312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2312
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2312#FFFFFF#000000##FFFFFF
##7E23121.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370F
Deuteranopia (green-blind)
#544B0D
Tritanopia (blue-blind)
#8B0120
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2312;
/* rgb */ color: rgb(126, 35, 18);
/* oklch */ color: oklch(39.9% 0.128 32.7);
Tailwind
colors: {
  custom: {
    50: '#ab6452',
    500: '#7e2312',
    950: '#000000',
  },
}
SCSS
$custom: #7e2312;
$custom-light: #ab6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2312",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 9.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39909,
    "c": 0.12826,
    "h": 32.7
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#7E2312
secondary
#38A0B4
accent
#D4F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2312

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

Preview Lab → · Contrast checker → · Palette generator →

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