#7F313F#7F313F

#7F313F is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.108 H 11.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7F313F
RGBrgb(127, 49, 63)
HSLhsl(349, 44%, 35%)
HSVhsv(349, 61%, 50%)
CMYKcmyk(0%, 61.4%, 50.4%, 50.2%)
CIE-LABlab(31.96, 35.06, 8.76)
CIE-LCHlch(31.96, 36.13, 14.04°)
OKLaboklab(42.71% 0.1061 0.0225)
OKLCHoklch(42.71% 0.108 11.9)
XYZxyz(10.7487, 7.0688, 5.5000)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F313F #317F71
analogous
#7F3166 #7F313F #7F4A31
triadic
#7F313F #3F7F31 #313F7F
tetradic
#7F313F #667F31 #317F71 #4A317F
square
#7F313F #667F31 #317F71 #4A317F
split-complementary
#7F313F #317F4A #31667F
monochromatic
#270F13 #532029 #7F313F #AB4255 #C46677

Accessibility & contrast

On white

8.70
#7F313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F313F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F313F#FFFFFF#000000##FFFFFF
##7F313F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#8A2636
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f313f;
/* rgb */ color: rgb(127, 49, 63);
/* oklch */ color: oklch(42.7% 0.108 11.9);
Tailwind
colors: {
  custom: {
    50: '#a86d73',
    500: '#7f313f',
    950: '#000000',
  },
}
SCSS
$custom: #7f313f;
$custom-light: #a86d73;
$custom-dark: #000000;
JSON
{
  "hex": "#7f313f",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 349.231,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.10844,
    "h": 11.9
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F313F

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

Preview Lab → · Contrast checker → · Palette generator →

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