#7F371B#7F371B

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

Color values

HEX#7F371B
RGBrgb(127, 55, 27)
HSLhsl(17, 65%, 30%)
HSVhsv(17, 79%, 50%)
CMYKcmyk(0%, 56.7%, 78.7%, 50.2%)
CIE-LABlab(32.54, 29.31, 31.74)
CIE-LCHlch(32.54, 43.20, 47.28°)
OKLaboklab(42.94% 0.0818 0.0702)
OKLCHoklch(42.94% 0.108 40.6)
XYZxyz(10.3175, 7.3249, 1.9072)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F371B #1B637F
analogous
#7F1B31 #7F371B #7F691B
triadic
#7F371B #1B7F37 #371B7F
tetradic
#7F371B #317F1B #1B637F #691B7F
square
#7F371B #317F1B #1B637F #691B7F
split-complementary
#7F371B #1B7F69 #1B317F
monochromatic
#1A0B06 #4D2110 #7F371B #B14D26 #D6693E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F371B#FFFFFF#000000##FFFFFF
##7F371B1.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)
#4B4318
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#8C2731
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f371b;
/* rgb */ color: rgb(127, 55, 27);
/* oklch */ color: oklch(42.9% 0.108 40.6);
Tailwind
colors: {
  custom: {
    50: '#aa7059',
    500: '#7f371b',
    950: '#000000',
  },
}
SCSS
$custom: #7f371b;
$custom-light: #aa7059;
$custom-dark: #000000;
JSON
{
  "hex": "#7f371b",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 16.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.10781,
    "h": 40.6
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#7F371B
secondary
#4393B3
accent
#B9E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F371B

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

Preview Lab → · Contrast checker → · Palette generator →

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