#7F391B#7F391B

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

Color values

HEX#7F391B
RGBrgb(127, 57, 27)
HSLhsl(18, 65%, 30%)
HSVhsv(18, 79%, 50%)
CMYKcmyk(0%, 55.1%, 78.7%, 50.2%)
CIE-LABlab(32.96, 28.23, 32.18)
CIE-LCHlch(32.96, 42.81, 48.75°)
OKLaboklab(43.27% 0.0785 0.0712)
OKLCHoklch(43.27% 0.106 42.2)
XYZxyz(10.4144, 7.5187, 1.9395)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F391B #1B617F
analogous
#7F1B2F #7F391B #7F6B1B
triadic
#7F391B #1B7F39 #391B7F
tetradic
#7F391B #2F7F1B #1B617F #6B1B7F
square
#7F391B #2F7F1B #1B617F #6B1B7F
split-complementary
#7F391B #1B7F6B #1B2F7F
monochromatic
#1A0C06 #4D2210 #7F391B #B15026 #D66C3E

Accessibility & contrast

On white

8.39
#7F391B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7F391B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F391B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F391B#FFFFFF#000000##FFFFFF
##7F391B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4417
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#8C2A33
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f391b;
/* rgb */ color: rgb(127, 57, 27);
/* oklch */ color: oklch(43.3% 0.106 42.2);
Tailwind
colors: {
  custom: {
    50: '#aa7159',
    500: '#7f391b',
    950: '#000000',
  },
}
SCSS
$custom: #7f391b;
$custom-light: #aa7159;
$custom-dark: #000000;
JSON
{
  "hex": "#7f391b",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 27
  },
  "hsl": {
    "h": 18,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.10595,
    "h": 42.2
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#7F391B
secondary
#4391B3
accent
#B6E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F391B

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

Preview Lab → · Contrast checker → · Palette generator →

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