#7F313E#7F313E

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

Color values

HEX#7F313E
RGBrgb(127, 49, 62)
HSLhsl(350, 44%, 35%)
HSVhsv(350, 61%, 50%)
CMYKcmyk(0%, 61.4%, 51.2%, 50.2%)
CIE-LABlab(31.94, 34.96, 9.38)
CIE-LCHlch(31.94, 36.19, 15.02°)
OKLaboklab(42.69% 0.1057 0.0239)
OKLCHoklch(42.69% 0.108 12.8)
XYZxyz(10.7210, 7.0577, 5.3542)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F313E #317F72
analogous
#7F3165 #7F313E #7F4B31
triadic
#7F313E #3E7F31 #313E7F
tetradic
#7F313E #657F31 #317F72 #4B317F
square
#7F313E #657F31 #317F72 #4B317F
split-complementary
#7F313E #317F4B #31657F
monochromatic
#270F13 #532028 #7F313E #AB4254 #C46676

Accessibility & contrast

On white

8.71
#7F313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F313E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F313E#FFFFFF#000000##FFFFFF
##7F313E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f313e;
/* rgb */ color: rgb(127, 49, 62);
/* oklch */ color: oklch(42.7% 0.108 12.8);
Tailwind
colors: {
  custom: {
    50: '#a86d73',
    500: '#7f313e',
    950: '#000000',
  },
}
SCSS
$custom: #7f313e;
$custom-light: #a86d73;
$custom-dark: #000000;
JSON
{
  "hex": "#7f313e",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 350,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.10835,
    "h": 12.8
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#7F313E
secondary
#60AB9F
accent
#D4BF54
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7F313E

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

Preview Lab → · Contrast checker → · Palette generator →

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