#7E313C#7E313C

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

Color values

HEX#7E313C
RGBrgb(126, 49, 60)
HSLhsl(351, 44%, 34%)
HSVhsv(351, 61%, 49%)
CMYKcmyk(0%, 61.1%, 52.4%, 50.6%)
CIE-LABlab(31.72, 34.39, 10.35)
CIE-LCHlch(31.72, 35.91, 16.74°)
OKLaboklab(42.47% 0.1037 0.0262)
OKLCHoklch(42.47% 0.107 14.2)
XYZxyz(10.5189, 6.9598, 5.0635)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E313C #317E73
analogous
#7E3163 #7E313C #7E4D31
triadic
#7E313C #3C7E31 #313C7E
tetradic
#7E313C #637E31 #317E73 #4D317E
square
#7E313C #637E31 #317E73 #4D317E
split-complementary
#7E313C #317E4D #31637E
monochromatic
#260F12 #522027 #7E313C #AA4251 #C36673

Accessibility & contrast

On white

8.78
#7E313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E313C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E313C#FFFFFF#000000##FFFFFF
##7E313C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413C
Deuteranopia (green-blind)
#56503A
Tritanopia (blue-blind)
#892535
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e313c;
/* rgb */ color: rgb(126, 49, 60);
/* oklch */ color: oklch(42.5% 0.107 14.2);
Tailwind
colors: {
  custom: {
    50: '#a86d71',
    500: '#7e313c',
    950: '#000000',
  },
}
SCSS
$custom: #7e313c;
$custom-light: #a86d71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e313c",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 351.429,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.107,
    "h": 14.2
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#7E313C
secondary
#60ABA0
accent
#D4C154
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7E313C

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

Preview Lab → · Contrast checker → · Palette generator →

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