#7F421D#7F421D

#7F421D is a dark, moderate orange. Relative luminance 0.085; OKLCH L 44.8% C 0.098 H 49.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7F421D
RGBrgb(127, 66, 29)
HSLhsl(23, 63%, 31%)
HSVhsv(23, 77%, 50%)
CMYKcmyk(0%, 48%, 77.2%, 50.2%)
CIE-LABlab(35.00, 23.27, 33.23)
CIE-LCHlch(35.00, 40.57, 55.00°)
OKLaboklab(44.83% 0.0638 0.0739)
OKLCHoklch(44.83% 0.098 49.2)
XYZxyz(10.9234, 8.4984, 2.2273)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F421D #1D5A7F
analogous
#7F1D29 #7F421D #7F731D
triadic
#7F421D #1D7F42 #421D7F
tetradic
#7F421D #297F1D #1D5A7F #731D7F
square
#7F421D #297F1D #1D5A7F #731D7F
split-complementary
#7F421D #1D7F73 #1D297F
monochromatic
#1B0E06 #4D2812 #7F421D #B15C28 #D47942

Accessibility & contrast

On white

7.78
#7F421D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F421D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F421D#FFFFFF#000000##FFFFFF
##7F421D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f421d;
/* rgb */ color: rgb(127, 66, 29);
/* oklch */ color: oklch(44.8% 0.098 49.2);
Tailwind
colors: {
  custom: {
    50: '#a9775b',
    500: '#7f421d',
    950: '#000000',
  },
}
SCSS
$custom: #7f421d;
$custom-light: #a9775b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f421d",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 22.653,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.09766,
    "h": 49.2
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#7F421D
secondary
#4589B2
accent
#A8E642
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110904
muted
#807B79

Preview Lab

Preview with #7F421D

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

Preview Lab → · Contrast checker → · Palette generator →

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