#7F371F#7F371F

#7F371F is a dark, moderate orange. Relative luminance 0.073; OKLCH L 43.0% C 0.106 H 38.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7F371F
RGBrgb(127, 55, 31)
HSLhsl(15, 61%, 31%)
HSVhsv(15, 76%, 50%)
CMYKcmyk(0%, 56.7%, 75.6%, 50.2%)
CIE-LABlab(32.58, 29.50, 29.55)
CIE-LCHlch(32.58, 41.76, 45.05°)
OKLaboklab(42.99% 0.0832 0.0665)
OKLCHoklch(42.99% 0.106 38.6)
XYZxyz(10.3669, 7.3447, 2.1678)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F371F #1F677F
analogous
#7F1F37 #7F371F #7F671F
triadic
#7F371F #1F7F37 #371F7F
tetradic
#7F371F #377F1F #1F677F #671F7F
square
#7F371F #377F1F #1F677F #671F7F
split-complementary
#7F371F #1F7F67 #1F377F
monochromatic
#1D0C07 #4E2213 #7F371F #B04C2B #D26946

Accessibility & contrast

On white

8.51
#7F371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F371F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F371F#FFFFFF#000000##FFFFFF
##7F371F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431C
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#8C2832
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f371f;
/* rgb */ color: rgb(127, 55, 31);
/* oklch */ color: oklch(43.0% 0.106 38.6);
Tailwind
colors: {
  custom: {
    50: '#aa705c',
    500: '#7f371f',
    950: '#000000',
  },
}
SCSS
$custom: #7f371f;
$custom-light: #aa705c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f371f",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 15,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.10648,
    "h": 38.6
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#7F371F
secondary
#4897B2
accent
#BCE444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F371F

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

Preview Lab → · Contrast checker → · Palette generator →

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