#7F312E#7F312E

#7F312E is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.3% C 0.109 H 25.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7F312E
RGBrgb(127, 49, 46)
HSLhsl(2, 47%, 34%)
HSVhsv(2, 64%, 50%)
CMYKcmyk(0%, 61.4%, 63.8%, 50.2%)
CIE-LABlab(31.59, 33.58, 19.25)
CIE-LCHlch(31.59, 38.70, 29.83°)
OKLaboklab(42.32% 0.0988 0.0462)
OKLCHoklch(42.32% 0.109 25.1)
XYZxyz(10.3448, 6.9072, 3.3727)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F312E #2E7C7F
analogous
#7F2E54 #7F312E #7F5A2E
triadic
#7F312E #2E7F31 #312E7F
tetradic
#7F312E #547F2E #2E7C7F #5A2E7F
square
#7F312E #547F2E #2E7C7F #5A2E7F
split-complementary
#7F312E #2E7F5A #2E547F
monochromatic
#250E0D #52201E #7F312E #AC423E #C66561

Accessibility & contrast

On white

8.82
#7F312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F312E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F312E#FFFFFF#000000##FFFFFF
##7F312E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402D
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#8B2231
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f312e;
/* rgb */ color: rgb(127, 49, 46);
/* oklch */ color: oklch(42.3% 0.109 25.1);
Tailwind
colors: {
  custom: {
    50: '#a96c66',
    500: '#7f312e',
    950: '#000000',
  },
}
SCSS
$custom: #7f312e;
$custom-light: #a96c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f312e",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 2.222,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.1091,
    "h": 25.1
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#7F312E
secondary
#5CAAAD
accent
#D2D651
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F312E

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

Preview Lab → · Contrast checker → · Palette generator →

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