#7E313A#7E313A

#7E313A is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.4% C 0.107 H 15.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7E313A
RGBrgb(126, 49, 58)
HSLhsl(353, 44%, 34%)
HSVhsv(353, 61%, 49%)
CMYKcmyk(0%, 61.1%, 54%, 50.6%)
CIE-LABlab(31.67, 34.20, 11.58)
CIE-LCHlch(31.67, 36.11, 18.71°)
OKLaboklab(42.42% 0.1029 0.0291)
OKLCHoklch(42.42% 0.107 15.8)
XYZxyz(10.4671, 6.9390, 4.7903)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E313A #317E75
analogous
#7E3161 #7E313A #7E4F31
triadic
#7E313A #3A7E31 #313A7E
tetradic
#7E313A #617E31 #317E75 #4F317E
square
#7E313A #617E31 #317E75 #4F317E
split-complementary
#7E313A #317E4F #31617E
monochromatic
#260F11 #522026 #7E313A #AA424E #C36671

Accessibility & contrast

On white

8.80
#7E313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E313A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E313A#FFFFFF#000000##FFFFFF
##7E313A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#892535
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e313a;
/* rgb */ color: rgb(126, 49, 58);
/* oklch */ color: oklch(42.4% 0.107 15.8);
Tailwind
colors: {
  custom: {
    50: '#a86d70',
    500: '#7e313a',
    950: '#000000',
  },
}
SCSS
$custom: #7e313a;
$custom-light: #a86d70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e313a",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 352.987,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.10694,
    "h": 15.8
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#7E313A
secondary
#60ABA2
accent
#D4C554
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E313A

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

Preview Lab → · Contrast checker → · Palette generator →

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