#7F313A#7F313A

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

Color values

HEX#7F313A
RGBrgb(127, 49, 58)
HSLhsl(353, 44%, 35%)
HSVhsv(353, 61%, 50%)
CMYKcmyk(0%, 61.4%, 54.3%, 50.2%)
CIE-LABlab(31.84, 34.57, 11.85)
CIE-LCHlch(31.84, 36.55, 18.92°)
OKLaboklab(42.58% 0.104 0.0298)
OKLCHoklch(42.58% 0.108 16)
XYZxyz(10.6153, 7.0154, 4.7973)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F313A #317F76
analogous
#7F3161 #7F313A #7F4F31
triadic
#7F313A #3A7F31 #313A7F
tetradic
#7F313A #617F31 #317F76 #4F317F
square
#7F313A #617F31 #317F76 #4F317F
split-complementary
#7F313A #317F4F #31617F
monochromatic
#270F12 #532026 #7F313A #AB424E #C46671

Accessibility & contrast

On white

8.74
#7F313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F313A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F313A#FFFFFF#000000##FFFFFF
##7F313A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#575138
Tritanopia (blue-blind)
#8B2535
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f313a;
/* rgb */ color: rgb(127, 49, 58);
/* oklch */ color: oklch(42.6% 0.108 16.0);
Tailwind
colors: {
  custom: {
    50: '#a86d70',
    500: '#7f313a',
    950: '#000000',
  },
}
SCSS
$custom: #7f313a;
$custom-light: #a86d70;
$custom-dark: #000000;
JSON
{
  "hex": "#7f313a",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 353.077,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.10815,
    "h": 16
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#7F313A
secondary
#60ABA3
accent
#D4C554
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7F313A

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

Preview Lab → · Contrast checker → · Palette generator →

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