#7F421B#7F421B

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

Color values

HEX#7F421B
RGBrgb(127, 66, 27)
HSLhsl(23, 65%, 30%)
HSVhsv(23, 79%, 50%)
CMYKcmyk(0%, 48%, 78.7%, 50.2%)
CIE-LABlab(34.98, 23.17, 34.25)
CIE-LCHlch(34.98, 41.35, 55.92°)
OKLaboklab(44.81% 0.0632 0.0756)
OKLCHoklch(44.81% 0.099 50.1)
XYZxyz(10.8994, 8.4888, 2.1012)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F421B #1B587F
analogous
#7F1B26 #7F421B #7F741B
triadic
#7F421B #1B7F42 #421B7F
tetradic
#7F421B #267F1B #1B587F #741B7F
square
#7F421B #267F1B #1B587F #741B7F
split-complementary
#7F421B #1B7F74 #1B267F
monochromatic
#1A0E06 #4D2810 #7F421B #B15C26 #D67A3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F421B#FFFFFF#000000##FFFFFF
##7F421B1.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)
#534A16
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#8C353A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f421b;
/* rgb */ color: rgb(127, 66, 27);
/* oklch */ color: oklch(44.8% 0.099 50.1);
Tailwind
colors: {
  custom: {
    50: '#aa775a',
    500: '#7f421b',
    950: '#000000',
  },
}
SCSS
$custom: #7f421b;
$custom-light: #aa775a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f421b",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 23.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44811,
    "c": 0.09854,
    "h": 50.1
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#7F421B
secondary
#4387B3
accent
#A6E840
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F421B

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

Preview Lab → · Contrast checker → · Palette generator →

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