#7F313C#7F313C

#7F313C is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.6% C 0.108 H 14.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7F313C
RGBrgb(127, 49, 60)
HSLhsl(352, 44%, 35%)
HSVhsv(352, 61%, 50%)
CMYKcmyk(0%, 61.4%, 52.8%, 50.2%)
CIE-LABlab(31.89, 34.76, 10.61)
CIE-LCHlch(31.89, 36.34, 16.98°)
OKLaboklab(42.63% 0.1048 0.0269)
OKLCHoklch(42.63% 0.108 14.4)
XYZxyz(10.6672, 7.0362, 5.0705)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F313C #317F74
analogous
#7F3163 #7F313C #7F4D31
triadic
#7F313C #3C7F31 #313C7F
tetradic
#7F313C #637F31 #317F74 #4D317F
square
#7F313C #637F31 #317F74 #4D317F
split-complementary
#7F313C #317F4D #31637F
monochromatic
#270F12 #532027 #7F313C #AB4251 #C46674

Accessibility & contrast

On white

8.72
#7F313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F313C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F313C#FFFFFF#000000##FFFFFF
##7F313C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413C
Deuteranopia (green-blind)
#56513A
Tritanopia (blue-blind)
#8A2535
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f313c;
/* rgb */ color: rgb(127, 49, 60);
/* oklch */ color: oklch(42.6% 0.108 14.4);
Tailwind
colors: {
  custom: {
    50: '#a86d71',
    500: '#7f313c',
    950: '#000000',
  },
}
SCSS
$custom: #7f313c;
$custom-light: #a86d71;
$custom-dark: #000000;
JSON
{
  "hex": "#7f313c",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 351.538,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.10821,
    "h": 14.4
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#7F313C
secondary
#60ABA1
accent
#D4C254
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7F313C

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

Preview Lab → · Contrast checker → · Palette generator →

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