#7E313F#7E313F

#7E313F is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.5% C 0.107 H 11.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7E313F
RGBrgb(126, 49, 63)
HSLhsl(349, 44%, 34%)
HSVhsv(349, 61%, 49%)
CMYKcmyk(0%, 61.1%, 50%, 50.6%)
CIE-LABlab(31.79, 34.69, 8.50)
CIE-LCHlch(31.79, 35.71, 13.76°)
OKLaboklab(42.55% 0.105 0.0218)
OKLCHoklch(42.55% 0.107 11.7)
XYZxyz(10.6005, 6.9924, 5.4931)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E313F #317E70
analogous
#7E3166 #7E313F #7E4A31
triadic
#7E313F #3F7E31 #313F7E
tetradic
#7E313F #667E31 #317E70 #4A317E
square
#7E313F #667E31 #317E70 #4A317E
split-complementary
#7E313F #317E4A #31667E
monochromatic
#260F13 #522029 #7E313F #AA4255 #C36677

Accessibility & contrast

On white

8.76
#7E313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E313F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E313F#FFFFFF#000000##FFFFFF
##7E313F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#55513D
Tritanopia (blue-blind)
#892636
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e313f;
/* rgb */ color: rgb(126, 49, 63);
/* oklch */ color: oklch(42.5% 0.107 11.7);
Tailwind
colors: {
  custom: {
    50: '#a76d73',
    500: '#7e313f',
    950: '#000000',
  },
}
SCSS
$custom: #7e313f;
$custom-light: #a76d73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e313f",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 349.091,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.10725,
    "h": 11.7
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#7E313F
secondary
#60AB9D
accent
#D4BD54
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E313F

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

Preview Lab → · Contrast checker → · Palette generator →

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