#7C313D#7C313D

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

Color values

HEX#7C313D
RGBrgb(124, 49, 61)
HSLhsl(350, 43%, 34%)
HSVhsv(350, 60%, 49%)
CMYKcmyk(0%, 60.5%, 50.8%, 51.4%)
CIE-LABlab(31.39, 33.74, 9.19)
CIE-LCHlch(31.39, 34.97, 15.24°)
OKLaboklab(42.17% 0.102 0.0235)
OKLCHoklch(42.17% 0.105 13)
XYZxyz(10.2536, 6.8198, 5.1904)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C313D #317C70
analogous
#7C3163 #7C313D #7C4B31
triadic
#7C313D #3D7C31 #313D7C
tetradic
#7C313D #637C31 #317C70 #4B317C
square
#7C313D #637C31 #317C70 #4B317C
split-complementary
#7C313D #317C4B #31637C
monochromatic
#240E12 #502027 #7C313D #A84253 #C26574

Accessibility & contrast

On white

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

On black

2.36
#7C313D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C313D#FFFFFF#000000##FFFFFF
##7C313D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403D
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#872636
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c313d;
/* rgb */ color: rgb(124, 49, 61);
/* oklch */ color: oklch(42.2% 0.105 13.0);
Tailwind
colors: {
  custom: {
    50: '#a66c72',
    500: '#7c313d',
    950: '#000000',
  },
}
SCSS
$custom: #7c313d;
$custom-light: #a66c72;
$custom-dark: #000000;
JSON
{
  "hex": "#7c313d",
  "rgb": {
    "r": 124,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 350.4,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42168,
    "c": 0.10465,
    "h": 13
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#7C313D
secondary
#5FAA9E
accent
#D3BF55
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7C313D

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

Preview Lab → · Contrast checker → · Palette generator →

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