#7F311D#7F311D

#7F311D is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.0% C 0.113 H 35.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7F311D
RGBrgb(127, 49, 29)
HSLhsl(12, 63%, 31%)
HSVhsv(12, 77%, 50%)
CMYKcmyk(0%, 61.4%, 77.2%, 50.2%)
CIE-LABlab(31.34, 32.55, 29.36)
CIE-LCHlch(31.34, 43.83, 42.05°)
OKLaboklab(42.05% 0.0922 0.0656)
OKLCHoklch(42.05% 0.113 35.4)
XYZxyz(10.0735, 6.7987, 1.9440)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F311D #1D6B7F
analogous
#7F1D3A #7F311D #7F621D
triadic
#7F311D #1D7F31 #311D7F
tetradic
#7F311D #3A7F1D #1D6B7F #621D7F
square
#7F311D #3A7F1D #1D6B7F #621D7F
split-complementary
#7F311D #1D7F62 #1D3A7F
monochromatic
#1B0B06 #4D1E12 #7F311D #B14428 #D46042

Accessibility & contrast

On white

8.90
#7F311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F311D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F311D#FFFFFF#000000##FFFFFF
##7F311D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1A
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#8C1F2D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f311d;
/* rgb */ color: rgb(127, 49, 29);
/* oklch */ color: oklch(42.0% 0.113 35.4);
Tailwind
colors: {
  custom: {
    50: '#ab6c5a',
    500: '#7f311d',
    950: '#000000',
  },
}
SCSS
$custom: #7f311d;
$custom-light: #ab6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f311d",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 12.245,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.11313,
    "h": 35.4
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#7F311D
secondary
#459CB2
accent
#C4E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F311D

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

Preview Lab → · Contrast checker → · Palette generator →

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