#7E2313#7E2313

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

Color values

HEX#7E2313
RGBrgb(126, 35, 19)
HSLhsl(9, 74%, 28%)
HSVhsv(9, 85%, 49%)
CMYKcmyk(0%, 72.2%, 84.9%, 50.6%)
CIE-LABlab(28.61, 38.33, 32.12)
CIE-LCHlch(28.61, 50.01, 39.96°)
OKLaboklab(39.92% 0.1082 0.0686)
OKLCHoklch(39.92% 0.128 32.4)
XYZxyz(9.3239, 5.6861, 1.2226)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2313 #136E7E
analogous
#7E1338 #7E2313 #7E5813
triadic
#7E2313 #137E23 #23137E
tetradic
#7E2313 #387E13 #136E7E #58137E
square
#7E2313 #387E13 #136E7E #58137E
split-complementary
#7E2313 #137E58 #13387E
monochromatic
#1B0704 #49140B #7E2313 #B3321B #DF472C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2313#FFFFFF#000000##FFFFFF
##7E23131.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)
#3E3710
Deuteranopia (green-blind)
#544B0E
Tritanopia (blue-blind)
#8B0120
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2313;
/* rgb */ color: rgb(126, 35, 19);
/* oklch */ color: oklch(39.9% 0.128 32.4);
Tailwind
colors: {
  custom: {
    50: '#ab6452',
    500: '#7e2313',
    950: '#000000',
  },
}
SCSS
$custom: #7e2313;
$custom-light: #ab6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2313",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 19
  },
  "hsl": {
    "h": 8.972,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.12808,
    "h": 32.4
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#7E2313
secondary
#39A1B4
accent
#D5F037
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2313

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

Preview Lab → · Contrast checker → · Palette generator →

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