#7F421F#7F421F

#7F421F is a dark, moderate orange. Relative luminance 0.085; OKLCH L 44.9% C 0.097 H 48.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7F421F
RGBrgb(127, 66, 31)
HSLhsl(22, 61%, 31%)
HSVhsv(22, 76%, 50%)
CMYKcmyk(0%, 48%, 75.6%, 50.2%)
CIE-LABlab(35.02, 23.37, 32.19)
CIE-LCHlch(35.02, 39.78, 54.02°)
OKLaboklab(44.85% 0.0645 0.0722)
OKLCHoklch(44.85% 0.097 48.2)
XYZxyz(10.9489, 8.5086, 2.3618)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F421F #1F5C7F
analogous
#7F1F2C #7F421F #7F721F
triadic
#7F421F #1F7F42 #421F7F
tetradic
#7F421F #2C7F1F #1F5C7F #721F7F
square
#7F421F #2C7F1F #1F5C7F #721F7F
split-complementary
#7F421F #1F7F72 #1F2C7F
monochromatic
#1D0F07 #4E2813 #7F421F #B05C2B #D27946

Accessibility & contrast

On white

7.77
#7F421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7F421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F421F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F421F#FFFFFF#000000##FFFFFF
##7F421F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1B
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#8B353A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f421f;
/* rgb */ color: rgb(127, 66, 31);
/* oklch */ color: oklch(44.9% 0.097 48.2);
Tailwind
colors: {
  custom: {
    50: '#a9775c',
    500: '#7f421f',
    950: '#000000',
  },
}
SCSS
$custom: #7f421f;
$custom-light: #a9775c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f421f",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 21.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.09676,
    "h": 48.2
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#7F421F
secondary
#488BB2
accent
#AAE444
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110904
muted
#807B79

Preview Lab

Preview with #7F421F

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

Preview Lab → · Contrast checker → · Palette generator →

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