#7E312E#7E312E

#7E312E is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.108 H 25.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7E312E
RGBrgb(126, 49, 46)
HSLhsl(2, 47%, 34%)
HSVhsv(2, 63%, 49%)
CMYKcmyk(0%, 61.1%, 63.5%, 50.6%)
CIE-LABlab(31.42, 33.19, 18.99)
CIE-LCHlch(31.42, 38.24, 29.77°)
OKLaboklab(42.15% 0.0977 0.0457)
OKLCHoklch(42.15% 0.108 25)
XYZxyz(10.1966, 6.8308, 3.3658)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E312E #2E7B7E
analogous
#7E2E53 #7E312E #7E592E
triadic
#7E312E #2E7E31 #312E7E
tetradic
#7E312E #537E2E #2E7B7E #592E7E
square
#7E312E #537E2E #2E7B7E #592E7E
split-complementary
#7E312E #2E7E59 #2E537E
monochromatic
#240E0D #51201E #7E312E #AB423E #C56561

Accessibility & contrast

On white

8.88
#7E312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E312E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E312E#FFFFFF#000000##FFFFFF
##7E312E1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402D
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#8A2231
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e312e;
/* rgb */ color: rgb(126, 49, 46);
/* oklch */ color: oklch(42.1% 0.108 25.0);
Tailwind
colors: {
  custom: {
    50: '#a86c66',
    500: '#7e312e',
    950: '#000000',
  },
}
SCSS
$custom: #7e312e;
$custom-light: #a86c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e312e",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 2.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.10788,
    "h": 25
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#7E312E
secondary
#5CA9AC
accent
#D1D652
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E312E

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

Preview Lab → · Contrast checker → · Palette generator →

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