#7D313B#7D313B

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

Color values

HEX#7D313B
RGBrgb(125, 49, 59)
HSLhsl(352, 44%, 34%)
HSVhsv(352, 61%, 49%)
CMYKcmyk(0%, 60.8%, 52.8%, 51%)
CIE-LABlab(31.52, 33.92, 10.70)
CIE-LCHlch(31.52, 35.56, 17.50°)
OKLaboklab(42.28% 0.1022 0.0271)
OKLCHoklch(42.28% 0.106 14.8)
XYZxyz(10.3460, 6.8736, 4.9187)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D313B #317D73
analogous
#7D3161 #7D313B #7D4D31
triadic
#7D313B #3B7D31 #313B7D
tetradic
#7D313B #617D31 #317D73 #4D317D
square
#7D313B #617D31 #317D73 #4D317D
split-complementary
#7D313B #317D4D #31617D
monochromatic
#250F11 #512026 #7D313B #A94250 #C36672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D313B#FFFFFF#000000##FFFFFF
##7D313B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42403B
Deuteranopia (green-blind)
#555039
Tritanopia (blue-blind)
#882635
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d313b;
/* rgb */ color: rgb(125, 49, 59);
/* oklch */ color: oklch(42.3% 0.106 14.8);
Tailwind
colors: {
  custom: {
    50: '#a76c70',
    500: '#7d313b',
    950: '#000000',
  },
}
SCSS
$custom: #7d313b;
$custom-light: #a76c70;
$custom-dark: #000000;
JSON
{
  "hex": "#7d313b",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 352.105,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4228,
    "c": 0.10575,
    "h": 14.8
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#7D313B
secondary
#60AAA0
accent
#D3C354
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7D313B

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

Preview Lab → · Contrast checker → · Palette generator →

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