#7F371A#7F371A

#7F371A is a dark, moderate orange. Relative luminance 0.073; OKLCH L 42.9% C 0.108 H 41.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7F371A
RGBrgb(127, 55, 26)
HSLhsl(17, 66%, 30%)
HSVhsv(17, 80%, 50%)
CMYKcmyk(0%, 56.7%, 79.5%, 50.2%)
CIE-LABlab(32.53, 29.27, 32.27)
CIE-LCHlch(32.53, 43.57, 47.80°)
OKLaboklab(42.93% 0.0815 0.0711)
OKLCHoklch(42.93% 0.108 41.1)
XYZxyz(10.3061, 7.3203, 1.8473)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F371A #1A627F
analogous
#7F1A2F #7F371A #7F6A1A
triadic
#7F371A #1A7F37 #371A7F
tetradic
#7F371A #2F7F1A #1A627F #6A1A7F
square
#7F371A #2F7F1A #1A627F #6A1A7F
split-complementary
#7F371A #1A7F6A #1A2F7F
monochromatic
#190B05 #4C2110 #7F371A #B24D24 #D7693C

Accessibility & contrast

On white

8.52
#7F371A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F371A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F371A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F371A#FFFFFF#000000##FFFFFF
##7F371A1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4316
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#8C2731
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f371a;
/* rgb */ color: rgb(127, 55, 26);
/* oklch */ color: oklch(42.9% 0.108 41.1);
Tailwind
colors: {
  custom: {
    50: '#aa7058',
    500: '#7f371a',
    950: '#000000',
  },
}
SCSS
$custom: #7f371a;
$custom-light: #aa7058;
$custom-dark: #000000;
JSON
{
  "hex": "#7f371a",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 26
  },
  "hsl": {
    "h": 17.228,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.10814,
    "h": 41.1
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#7F371A
secondary
#4292B3
accent
#B8E93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F371A

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

Preview Lab → · Contrast checker → · Palette generator →

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