#7D313C#7D313C

#7D313C is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.3% C 0.106 H 14.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7D313C
RGBrgb(125, 49, 60)
HSLhsl(351, 44%, 34%)
HSVhsv(351, 61%, 49%)
CMYKcmyk(0%, 60.8%, 52%, 51%)
CIE-LABlab(31.54, 34.01, 10.08)
CIE-LCHlch(31.54, 35.48, 16.51°)
OKLaboklab(42.31% 0.1027 0.0256)
OKLCHoklch(42.31% 0.106 14)
XYZxyz(10.3722, 6.8841, 5.0566)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D313C #317D72
analogous
#7D3162 #7D313C #7D4C31
triadic
#7D313C #3C7D31 #313C7D
tetradic
#7D313C #627D31 #317D72 #4C317D
square
#7D313C #627D31 #317D72 #4C317D
split-complementary
#7D313C #317D4C #31627D
monochromatic
#250F12 #512027 #7D313C #A94251 #C36673

Accessibility & contrast

On white

8.84
#7D313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D313C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D313C#FFFFFF#000000##FFFFFF
##7D313C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413C
Deuteranopia (green-blind)
#55503A
Tritanopia (blue-blind)
#882635
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d313c;
/* rgb */ color: rgb(125, 49, 60);
/* oklch */ color: oklch(42.3% 0.106 14.0);
Tailwind
colors: {
  custom: {
    50: '#a76d71',
    500: '#7d313c',
    950: '#000000',
  },
}
SCSS
$custom: #7d313c;
$custom-light: #a76d71;
$custom-dark: #000000;
JSON
{
  "hex": "#7d313c",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 351.316,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.10579,
    "h": 14
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#7D313C
secondary
#60AA9F
accent
#D3C154
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7D313C

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

Preview Lab → · Contrast checker → · Palette generator →

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