#7D313E#7D313E

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

Color values

HEX#7D313E
RGBrgb(125, 49, 62)
HSLhsl(350, 44%, 34%)
HSVhsv(350, 61%, 49%)
CMYKcmyk(0%, 60.8%, 50.4%, 51%)
CIE-LABlab(31.59, 34.21, 8.84)
CIE-LCHlch(31.59, 35.34, 14.49°)
OKLaboklab(42.36% 0.1035 0.0226)
OKLCHoklch(42.36% 0.106 12.3)
XYZxyz(10.4260, 6.9056, 5.3404)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D313E #317D70
analogous
#7D3164 #7D313E #7D4A31
triadic
#7D313E #3E7D31 #313E7D
tetradic
#7D313E #647D31 #317D70 #4A317D
square
#7D313E #647D31 #317D70 #4A317D
split-complementary
#7D313E #317D4A #31647D
monochromatic
#250F12 #512028 #7D313E #A94254 #C36676

Accessibility & contrast

On white

8.82
#7D313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D313E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D313E#FFFFFF#000000##FFFFFF
##7D313E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d313e;
/* rgb */ color: rgb(125, 49, 62);
/* oklch */ color: oklch(42.4% 0.106 12.3);
Tailwind
colors: {
  custom: {
    50: '#a76d73',
    500: '#7d313e',
    950: '#000000',
  },
}
SCSS
$custom: #7d313e;
$custom-light: #a76d73;
$custom-dark: #000000;
JSON
{
  "hex": "#7d313e",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 349.737,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.10595,
    "h": 12.3
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#7D313E
secondary
#60AA9D
accent
#D3BE54
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7D313E

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

Preview Lab → · Contrast checker → · Palette generator →

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