#7F391F#7F391F

#7F391F is a dark, moderate orange. Relative luminance 0.075; OKLCH L 43.3% C 0.105 H 40.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7F391F
RGBrgb(127, 57, 31)
HSLhsl(16, 61%, 31%)
HSVhsv(16, 76%, 50%)
CMYKcmyk(0%, 55.1%, 75.6%, 50.2%)
CIE-LABlab(33.00, 28.42, 30.01)
CIE-LCHlch(33.00, 41.33, 46.56°)
OKLaboklab(43.31% 0.0799 0.0675)
OKLCHoklch(43.31% 0.105 40.2)
XYZxyz(10.4639, 7.5385, 2.2001)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F391F #1F657F
analogous
#7F1F35 #7F391F #7F691F
triadic
#7F391F #1F7F39 #391F7F
tetradic
#7F391F #357F1F #1F657F #691F7F
square
#7F391F #357F1F #1F657F #691F7F
split-complementary
#7F391F #1F7F69 #1F357F
monochromatic
#1D0D07 #4E2313 #7F391F #B04F2B #D26C46

Accessibility & contrast

On white

8.38
#7F391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7F391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F391F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F391F#FFFFFF#000000##FFFFFF
##7F391F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441C
Deuteranopia (green-blind)
#5D541D
Tritanopia (blue-blind)
#8C2A33
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f391f;
/* rgb */ color: rgb(127, 57, 31);
/* oklch */ color: oklch(43.3% 0.105 40.2);
Tailwind
colors: {
  custom: {
    50: '#aa715c',
    500: '#7f391f',
    950: '#000000',
  },
}
SCSS
$custom: #7f391f;
$custom-light: #aa715c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f391f",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 16.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.10454,
    "h": 40.2
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#7F391F
secondary
#4895B2
accent
#B9E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F391F

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

Preview Lab → · Contrast checker → · Palette generator →

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