#7E313E#7E313E

#7E313E is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.5% C 0.107 H 12.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7E313E
RGBrgb(126, 49, 62)
HSLhsl(350, 44%, 34%)
HSVhsv(350, 61%, 49%)
CMYKcmyk(0%, 61.1%, 50.8%, 50.6%)
CIE-LABlab(31.76, 34.59, 9.11)
CIE-LCHlch(31.76, 35.77, 14.76°)
OKLaboklab(42.52% 0.1046 0.0233)
OKLCHoklch(42.52% 0.107 12.5)
XYZxyz(10.5728, 6.9813, 5.3472)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E313E #317E71
analogous
#7E3165 #7E313E #7E4B31
triadic
#7E313E #3E7E31 #313E7E
tetradic
#7E313E #657E31 #317E71 #4B317E
square
#7E313E #657E31 #317E71 #4B317E
split-complementary
#7E313E #317E4B #31657E
monochromatic
#260F13 #522028 #7E313E #AA4254 #C36676

Accessibility & contrast

On white

8.76
#7E313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E313E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E313E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E313E#FFFFFF#000000##FFFFFF
##7E313E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#892636
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e313e;
/* rgb */ color: rgb(126, 49, 62);
/* oklch */ color: oklch(42.5% 0.107 12.5);
Tailwind
colors: {
  custom: {
    50: '#a76d73',
    500: '#7e313e',
    950: '#000000',
  },
}
SCSS
$custom: #7e313e;
$custom-light: #a76d73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e313e",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 349.87,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.10715,
    "h": 12.5
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#7E313E
secondary
#60AB9E
accent
#D4BE54
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E313E

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

Preview Lab → · Contrast checker → · Palette generator →

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