#7D313F#7D313F

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

Color values

HEX#7D313F
RGBrgb(125, 49, 63)
HSLhsl(349, 44%, 34%)
HSVhsv(349, 61%, 49%)
CMYKcmyk(0%, 60.8%, 49.6%, 51%)
CIE-LABlab(31.62, 34.32, 8.23)
CIE-LCHlch(31.62, 35.29, 13.48°)
OKLaboklab(42.39% 0.1039 0.0211)
OKLCHoklch(42.39% 0.106 11.5)
XYZxyz(10.4537, 6.9167, 5.4862)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D313F #317D6F
analogous
#7D3165 #7D313F #7D4931
triadic
#7D313F #3F7D31 #313F7D
tetradic
#7D313F #657D31 #317D6F #49317D
square
#7D313F #657D31 #317D6F #49317D
split-complementary
#7D313F #317D49 #31657D
monochromatic
#250F13 #512029 #7D313F #A94255 #C36677

Accessibility & contrast

On white

8.81
#7D313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D313F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D313F#FFFFFF#000000##FFFFFF
##7D313F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#882736
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d313f;
/* rgb */ color: rgb(125, 49, 63);
/* oklch */ color: oklch(42.4% 0.106 11.5);
Tailwind
colors: {
  custom: {
    50: '#a76d73',
    500: '#7d313f',
    950: '#000000',
  },
}
SCSS
$custom: #7d313f;
$custom-light: #a76d73;
$custom-dark: #000000;
JSON
{
  "hex": "#7d313f",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 348.947,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.10605,
    "h": 11.5
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#7D313F
secondary
#60AA9C
accent
#D3BC54
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7D313F

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

Preview Lab → · Contrast checker → · Palette generator →

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