#7C313E#7C313E

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

Color values

HEX#7C313E
RGBrgb(124, 49, 62)
HSLhsl(350, 43%, 34%)
HSVhsv(350, 60%, 49%)
CMYKcmyk(0%, 60.5%, 50%, 51.4%)
CIE-LABlab(31.42, 33.84, 8.58)
CIE-LCHlch(31.42, 34.91, 14.22°)
OKLaboklab(42.2% 0.1024 0.022)
OKLCHoklch(42.2% 0.105 12.1)
XYZxyz(10.2808, 6.8307, 5.3336)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C313E #317C6F
analogous
#7C3164 #7C313E #7C4A31
triadic
#7C313E #3E7C31 #313E7C
tetradic
#7C313E #647C31 #317C6F #4A317C
square
#7C313E #647C31 #317C6F #4A317C
split-complementary
#7C313E #317C4A #31647C
monochromatic
#240E12 #502028 #7C313E #A84254 #C26575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C313E#FFFFFF#000000##FFFFFF
##7C313E1.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)
#41403E
Deuteranopia (green-blind)
#54503C
Tritanopia (blue-blind)
#872736
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c313e;
/* rgb */ color: rgb(124, 49, 62);
/* oklch */ color: oklch(42.2% 0.105 12.1);
Tailwind
colors: {
  custom: {
    50: '#a66c73',
    500: '#7c313e',
    950: '#000000',
  },
}
SCSS
$custom: #7c313e;
$custom-light: #a66c73;
$custom-dark: #000000;
JSON
{
  "hex": "#7c313e",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 349.6,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.10474,
    "h": 12.1
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#7C313E
secondary
#5FAA9D
accent
#D3BD55
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7C313E

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

Preview Lab → · Contrast checker → · Palette generator →

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