#7E313D#7E313D

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

Color values

HEX#7E313D
RGBrgb(126, 49, 61)
HSLhsl(351, 44%, 34%)
HSVhsv(351, 61%, 49%)
CMYKcmyk(0%, 61.1%, 51.6%, 50.6%)
CIE-LABlab(31.74, 34.49, 9.73)
CIE-LCHlch(31.74, 35.83, 15.75°)
OKLaboklab(42.5% 0.1042 0.0248)
OKLCHoklch(42.5% 0.107 13.4)
XYZxyz(10.5456, 6.9704, 5.2041)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E313D #317E72
analogous
#7E3164 #7E313D #7E4C31
triadic
#7E313D #3D7E31 #313D7E
tetradic
#7E313D #647E31 #317E72 #4C317E
square
#7E313D #647E31 #317E72 #4C317E
split-complementary
#7E313D #317E4C #31647E
monochromatic
#260F12 #522028 #7E313D #AA4252 #C36675

Accessibility & contrast

On white

8.77
#7E313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E313D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E313D#FFFFFF#000000##FFFFFF
##7E313D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e313d;
/* rgb */ color: rgb(126, 49, 61);
/* oklch */ color: oklch(42.5% 0.107 13.4);
Tailwind
colors: {
  custom: {
    50: '#a76d72',
    500: '#7e313d',
    950: '#000000',
  },
}
SCSS
$custom: #7e313d;
$custom-light: #a76d72;
$custom-dark: #000000;
JSON
{
  "hex": "#7e313d",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 350.649,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.10707,
    "h": 13.4
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#7E313D
secondary
#60AB9F
accent
#D4C054
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E313D

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

Preview Lab → · Contrast checker → · Palette generator →

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